How to specify the layerStack for a VirtualDisplay created by DisplayManager?

516 Views Asked by At

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?

0

There are 0 best solutions below