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

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

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

parents e8ba34a8 b81f269a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -857,6 +857,8 @@ public class DisplayPolicy {
                if (canToastShowWhenLocked(callingPid)) {
                    attrs.flags |= WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED;
                }
                // Toasts can't be clickable
                attrs.flags |= WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
                break;
        }