summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Revathi Manoharan <Revathi.Manoharan@sony.com> 2023-09-28 08:49:38 +0530
committer Koji Fukui <koji.fukui@sony.com> 2023-10-19 21:17:44 +0900
commit00e6df04f90283f4d3235e1857bceed44159aa0a (patch)
treecc53cfae6ec17969ce98b3270175bee70827ccac
parent2aa1b380e08a77bfb00be22bc868242c5c868653 (diff)
Set LightRevealScrim to fullscreen in landscape mode
In Landscape mode, navigation bar insets are still seen in AOD instead of black screen, due to margin set on LightRevealScrim view. Solution: To avoid set ignoreRightInset to true, so that the margins can be ignored for AOD screen. Bug: 306348998 Change-Id: I5569ba5cdd4c2ebf9dadd3ed1a9a11f137a556f5
-rw-r--r--packages/SystemUI/res/layout/super_notification_shade.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout/super_notification_shade.xml b/packages/SystemUI/res/layout/super_notification_shade.xml
index d9fe949bb327..b9ee63a5da6e 100644
--- a/packages/SystemUI/res/layout/super_notification_shade.xml
+++ b/packages/SystemUI/res/layout/super_notification_shade.xml
@@ -62,7 +62,8 @@
<com.android.systemui.statusbar.LightRevealScrim
android:id="@+id/light_reveal_scrim"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="match_parent"
+ sysui:ignoreRightInset="true" />
<include layout="@layout/status_bar_expanded"
android:layout_width="match_parent"