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

This commit is contained in:
Bryce Lee
2017-05-31 21:46:15 +00:00
committed by Android (Google) Code Review

View File

@@ -693,8 +693,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");