1

According to android's official document: virtual displays

Virtual displays may share the same set of layers as the main display (the layer stack) or have their own set.

It is known that DisplayManager.createVirtualDisplay() can create a virtual display. But it seems it always has the same layer stack with primary display (mirrored content). How can I set a different layer stack?

progquester
  • 1,228
  • 14
  • 23
  • I guess the answer is here https://stackoverflow.com/questions/26660882/android-native-code-assigning-a-surface-to-a-specific-display – Bord81 Aug 12 '20 at 18:24

0 Answers0