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

Commit 6378effe authored by Pradosh Das's avatar Pradosh Das Committed by Steve Kondik
Browse files

Revert "WindowManager: Toast message is not visible in some scenarios"

This reverts commit cd3ebbb8.

Change-Id: I6d9ae37fe8ff0f74d10cdd34e93bd3c9697ed29c
parent 46381c39
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1864,10 +1864,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                // XXX right now the app process has complete control over
                // this...  should introduce a token to let the system
                // monitor/control what they are doing.

                // Bypass this to allow any activity to show toast even if
                // it runs in a different process than its package.
                //outAppOp[0] = AppOpsManager.OP_TOAST_WINDOW;
                outAppOp[0] = AppOpsManager.OP_TOAST_WINDOW;
                break;
            case TYPE_DREAM:
            case TYPE_INPUT_METHOD: