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

am: 646038a3c3

Change-Id: I9f6b1b84261d39d2db578011b78c52a516b54bab
This commit is contained in:
Bryce Lee
2017-05-31 21:58:03 +00:00
committed by android-build-merger

View File

@@ -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");