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

Commit b64534ce authored by Sterling Huber's avatar Sterling Huber Committed by Android (Google) Code Review
Browse files

Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev

parents ab6b6405 54e6a3c4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2618,6 +2618,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                    attrs.hideTimeoutMilliseconds = TOAST_WINDOW_TIMEOUT;
                }
                attrs.windowAnimations = com.android.internal.R.style.Animation_Toast;
                // Toasts can't be clickable
                attrs.flags |= WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
                break;
        }