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

Commit bbf13af1 authored by Alina Zaidi's avatar Alina Zaidi
Browse files

Fix wide privacy chip issue in shade status bar on external display.

Bug: 437079945
Flag: com.android.systemui.fix_shade_header_wrong_icon_size
Test: manually checked the chip on primary and secondary display
Change-Id: Iac92d36420360d9885d6d2625099114214acd2d9
parent 482a7344
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -164,6 +164,10 @@ constructor(
            context.resources.getDimensionPixelSize(R.dimen.ongoing_appops_chip_side_padding)
        iconsContainer.layoutParams.height = height
        iconsContainer.setPaddingRelative(padding, 0, padding, 0)
        if (Flags.fixShadeHeaderWrongIconSize()) {
            iconsContainer.minimumWidth =
                context.resources.getDimensionPixelSize(R.dimen.ongoing_appops_chip_min_width)
        }
        if (locationIndicatorsEnabled()) {
            if (chipDrawable == null) {
                chipDrawable =