* commit '604a9e280e8273f6ed1f1a50724c0d510cf09bb0': Defer tap outside stack until multiwindows
This commit is contained in:
@@ -8085,16 +8085,16 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
break;
|
||||
|
||||
case TAP_OUTSIDE_STACK: {
|
||||
int stackId;
|
||||
synchronized (mWindowMap) {
|
||||
stackId = ((DisplayContent)msg.obj).stackIdFromPoint(msg.arg1, msg.arg2);
|
||||
}
|
||||
if (stackId >= 0) {
|
||||
try {
|
||||
mActivityManager.setFocusedStack(stackId);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
}
|
||||
// int stackId;
|
||||
// synchronized (mWindowMap) {
|
||||
// stackId = ((DisplayContent)msg.obj).stackIdFromPoint(msg.arg1, msg.arg2);
|
||||
// }
|
||||
// if (stackId >= 0) {
|
||||
// try {
|
||||
// mActivityManager.setFocusedStack(stackId);
|
||||
// } catch (RemoteException e) {
|
||||
// }
|
||||
// }
|
||||
}
|
||||
break;
|
||||
case NOTIFY_ACTIVITY_DRAWN:
|
||||
|
||||
Reference in New Issue
Block a user