Skip to content

Commit 8928325

Browse files
kdrag0niamimmanuelraj
authored andcommitted
SystemUI: Remove nav bar background in QS customizer
This looks outdated, since most apps are edge-to-edge nowadays. Change-Id: I8c54e61e618a9b5bed1a59753ce76e8fbd69fae2 Signed-off-by: Dmitrii <bankersenator@gmail.com>
1 parent 06f8c87 commit 8928325

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

packages/SystemUI/res/layout/qs_customize_panel_content.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,4 @@
5656
android:importantForAccessibility="auto" />
5757
</com.android.keyguard.AlphaOptimizedLinearLayout>
5858

59-
<View
60-
android:id="@+id/nav_bar_background"
61-
android:layout_width="match_parent"
62-
android:layout_height="@dimen/navigation_bar_size"
63-
android:layout_gravity="bottom"
64-
android:background="#ff000000" />
6559
</merge>

packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,8 @@ void updateResources() {
9393
}
9494

9595
void updateNavBackDrop(Configuration newConfig, LightBarController lightBarController) {
96-
View navBackdrop = findViewById(R.id.nav_bar_background);
9796
mIsShowingNavBackdrop = newConfig.smallestScreenWidthDp >= 600
9897
|| newConfig.orientation != Configuration.ORIENTATION_LANDSCAPE;
99-
if (navBackdrop != null) {
100-
navBackdrop.setVisibility(mIsShowingNavBackdrop ? View.VISIBLE : View.GONE);
101-
}
10298
updateNavColors(lightBarController);
10399
}
104100

0 commit comments

Comments
 (0)