Merge "Revert "Handle not having main window in createThumbnailAppAnimator."" into oc-dev
am: 646038a3c3
Change-Id: I9f6b1b84261d39d2db578011b78c52a516b54bab
This commit is contained in:
@@ -693,8 +693,7 @@ class WindowSurfacePlacer {
|
|||||||
SurfaceControl surfaceControl = new SurfaceControl(mService.mFxSession,
|
SurfaceControl surfaceControl = new SurfaceControl(mService.mFxSession,
|
||||||
"thumbnail anim", dirty.width(), dirty.height(),
|
"thumbnail anim", dirty.width(), dirty.height(),
|
||||||
PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN,
|
PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN,
|
||||||
appToken.windowType,
|
appToken.windowType, window.mOwnerUid);
|
||||||
window != null ? window.mOwnerUid : Binder.getCallingUid());
|
|
||||||
surfaceControl.setLayerStack(display.getLayerStack());
|
surfaceControl.setLayerStack(display.getLayerStack());
|
||||||
if (SHOW_TRANSACTIONS) {
|
if (SHOW_TRANSACTIONS) {
|
||||||
Slog.i(TAG, " THUMBNAIL " + surfaceControl + ": CREATE");
|
Slog.i(TAG, " THUMBNAIL " + surfaceControl + ": CREATE");
|
||||||
|
|||||||
Reference in New Issue
Block a user