* commit 'f9819b011983f974f481b83a7e80d00569968900': Sync focus stack frame and layer with focus app.
This commit is contained in:
@@ -4033,6 +4033,15 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
if (changed) {
|
||||
mFocusedApp = newFocus;
|
||||
mInputMonitor.setFocusedAppLw(newFocus);
|
||||
setFocusedStackFrame();
|
||||
if (SHOW_LIGHT_TRANSACTIONS) Slog.i(TAG, ">>> OPEN TRANSACTION setFocusedApp");
|
||||
SurfaceControl.openTransaction();
|
||||
try {
|
||||
setFocusedStackLayer();
|
||||
} finally {
|
||||
SurfaceControl.closeTransaction();
|
||||
if (SHOW_LIGHT_TRANSACTIONS) Slog.i(TAG, ">>> CLOSE TRANSACTION setFocusedApp");
|
||||
}
|
||||
}
|
||||
|
||||
if (moveFocusNow && changed) {
|
||||
|
||||
Reference in New Issue
Block a user