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

Commit 3c8fde83 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by Android (Google) Code Review
Browse files

Merge "Revert "Defer tap outside stack until multiwindows""

parents e1a0858f b3b8fef9
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -7904,16 +7904,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: