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

Commit 44ad6709 authored by Bryce Lee's avatar Bryce Lee Committed by android-build-merger
Browse files

Merge "Handle not having main window in createThumbnailAppAnimator." into oc-dev

am: fd5129b9

Change-Id: Ic9e346ee1b246a96132b4492423216a54ce92b0b
parents 82db73bb fd5129b9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -693,7 +693,8 @@ class WindowSurfacePlacer {
            SurfaceControl surfaceControl = new SurfaceControl(mService.mFxSession,
                    "thumbnail anim", dirty.width(), dirty.height(),
                    PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN,
                    appToken.windowType, window.mOwnerUid);
                    appToken.windowType,
                    window != null ? window.mOwnerUid : Binder.getCallingUid());
            surfaceControl.setLayerStack(display.getLayerStack());
            if (SHOW_TRANSACTIONS) {
                Slog.i(TAG, "  THUMBNAIL " + surfaceControl + ": CREATE");