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

Commit 3e471fc8 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

am: 44ad6709

Change-Id: I06eb638d76a1223237d7308618c9ad715467519a
parents 9a769e5c 44ad6709
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -694,7 +694,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");