Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 604a9e28 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 5426e7ae: Merge "Defer tap outside stack until multiwindows" into lmp-mr1-dev

* commit '5426e7ae':
  Defer tap outside stack until multiwindows
parents 3523e4fc 5426e7ae
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -8060,16 +8060,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: