diff options
| -rw-r--r-- | services/core/java/com/android/server/wm/DisplayPolicy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/wm/DisplayPolicy.java b/services/core/java/com/android/server/wm/DisplayPolicy.java index ce4362853b23..2cd09e5b7502 100644 --- a/services/core/java/com/android/server/wm/DisplayPolicy.java +++ b/services/core/java/com/android/server/wm/DisplayPolicy.java @@ -933,7 +933,7 @@ public class DisplayPolicy { float maxOpacity = mService.mMaximumObscuringOpacityForTouch; if (attrs.alpha > maxOpacity && (attrs.flags & FLAG_NOT_TOUCHABLE) != 0 - && (attrs.privateFlags & PRIVATE_FLAG_TRUSTED_OVERLAY) == 0) { + && !win.isTrustedOverlay()) { // The app is posting a SAW with the intent of letting touches pass through, but // they are going to be deemed untrusted and will be blocked. Try to honor the // intent of letting touches pass through at the cost of 0.2 opacity for app |