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

Unverified Commit 5ad12c4c authored by Danny Lin's avatar Danny Lin Committed by Michael Bestas
Browse files

SystemUI: Remove nav bar background in QS customizer

This looks outdated, since most apps are edge-to-edge nowadays.

Change-Id: I8c54e61e618a9b5bed1a59753ce76e8fbd69fae2
parent a64c6a53
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -56,10 +56,4 @@
            android:importantForAccessibility="auto" />
    </com.android.keyguard.AlphaOptimizedLinearLayout>

    <View
        android:id="@+id/nav_bar_background"
        android:layout_width="match_parent"
        android:layout_height="@dimen/navigation_bar_size"
        android:layout_gravity="bottom"
        android:background="#ff000000" />
</merge>
+0 −4
Original line number Diff line number Diff line
@@ -93,12 +93,8 @@ public class QSCustomizer extends LinearLayout {
    }

    void updateNavBackDrop(Configuration newConfig, LightBarController lightBarController) {
        View navBackdrop = findViewById(R.id.nav_bar_background);
        mIsShowingNavBackdrop = newConfig.smallestScreenWidthDp >= 600
                || newConfig.orientation != Configuration.ORIENTATION_LANDSCAPE;
        if (navBackdrop != null) {
            navBackdrop.setVisibility(mIsShowingNavBackdrop ? View.VISIBLE : View.GONE);
        }
        updateNavColors(lightBarController);
    }