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

Commit 0f41dc42 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-dev

parents 090476d5 fe4bf792
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2613,6 +2613,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;
        }