Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ad31fb0 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 5c44c51c: Merge "Use new DisplayManager flag to show own content only." into klp-modular-dev

* commit '5c44c51c':
  Use new DisplayManager flag to show own content only.
parents 14298391 5c44c51c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2978,8 +2978,8 @@ public final class ActivityStackSupervisor implements DisplayListener {
            try {
                virtualDisplay = dm.createVirtualDisplay(mService.mContext,
                        VIRTUAL_DISPLAY_BASE_NAME, width, height, density, surface,
                        // TODO: Add VIRTUAL_DISPLAY_FLAG_DISABLE_MIRRORING when it is available.
                        DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC);
                        DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC |
                        DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY);
            } finally {
                Binder.restoreCallingIdentity(ident);
            }