Loading libs/WindowManager/Shell/src/com/android/wm/shell/FullscreenTaskListener.java +6 −0 Original line number Original line Diff line number Diff line Loading @@ -46,6 +46,12 @@ class FullscreenTaskListener implements ShellTaskOrganizer.TaskListener { final SurfaceControl.Transaction t = mTransactionPool.acquire(); final SurfaceControl.Transaction t = mTransactionPool.acquire(); ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TASK_ORG, "Fullscreen Task Appeared: #%d", ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TASK_ORG, "Fullscreen Task Appeared: #%d", taskInfo.taskId); taskInfo.taskId); // Reset several properties back to fullscreen (PiP, for example, leaves all these // properties in a bad state). t.setPosition(leash, 0, 0); t.setWindowCrop(leash, null); t.setAlpha(leash, 1f); t.setMatrix(leash, 1, 0, 0, 1); t.show(leash); t.show(leash); t.apply(); t.apply(); } } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/FullscreenTaskListener.java +6 −0 Original line number Original line Diff line number Diff line Loading @@ -46,6 +46,12 @@ class FullscreenTaskListener implements ShellTaskOrganizer.TaskListener { final SurfaceControl.Transaction t = mTransactionPool.acquire(); final SurfaceControl.Transaction t = mTransactionPool.acquire(); ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TASK_ORG, "Fullscreen Task Appeared: #%d", ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TASK_ORG, "Fullscreen Task Appeared: #%d", taskInfo.taskId); taskInfo.taskId); // Reset several properties back to fullscreen (PiP, for example, leaves all these // properties in a bad state). t.setPosition(leash, 0, 0); t.setWindowCrop(leash, null); t.setAlpha(leash, 1f); t.setMatrix(leash, 1, 0, 0, 1); t.show(leash); t.show(leash); t.apply(); t.apply(); } } Loading