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

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

Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi-dev

parents 13003620 6bf18c39
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2805,6 +2805,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;
        }