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

Commit b3b8fef9 authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Revert "Defer tap outside stack until multiwindows"

This reverts commit baf6bef0.

Bug: 19424251
parent 82223785
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: