diff options
| author | 2021-11-10 02:18:17 +0000 | |
|---|---|---|
| committer | 2021-11-10 02:18:17 +0000 | |
| commit | bb3f22df9a0cfb6e09ceafc8108a6d218ddea27f (patch) | |
| tree | f7bcb522ccff77d0e26df4f53a746a8ac2d2c7c7 | |
| parent | 58c437f18c0c360077d44905eaaf375b7c930adf (diff) | |
| parent | 620ee47b2a9466364ea8ff8ac31782e63342f4fb (diff) | |
Merge "Mark screen decorations as trusted overlays" into rvc-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/ScreenDecorations.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java b/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java index 7861211e802d..b167750c63e8 100644 --- a/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java +++ b/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java @@ -436,6 +436,9 @@ public class ScreenDecorations extends SystemUI implements Tunable { lp.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS | WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION; + // FLAG_SLIPPERY can only be set by trusted overlays + lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_TRUSTED_OVERLAY; + if (!DEBUG_SCREENSHOT_ROUNDED_CORNERS) { lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_IS_ROUNDED_CORNERS_OVERLAY; } |