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

Commit 72254279 authored by Bryce Lee's avatar Bryce Lee
Browse files

Revert "Handle not having main window in createThumbnailAppAnimator."

This reverts commit 6db4d15d.

Bug:62096254
Reason for revert: Breaking the build due to test references to class

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