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

Commit deb71178 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

[Status Bar] Inline `status_bar_monochrome_icons_fix` flag.

This feature has now been enabled for a while without problems, and the flag can be removed.

Test: TH
Flag: EXEMPT flag removal
Fixes: 409610260
Change-Id: Id4e5aaa205ab368a0a548cfeab46d22e1433ea16
parent 448a9c1e
Loading
Loading
Loading
Loading
+0 −10
Original line number Original line Diff line number Diff line
@@ -414,16 +414,6 @@ flag {
    bug: "383172066"
    bug: "383172066"
}
}


flag {
    name: "status_bar_monochrome_icons_fix"
    namespace: "systemui"
    description: "Fixes the status bar icon size when drawing InsetDrawables (ie. monochrome icons)"
    bug: "329091967"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
flag {
    name: "status_bar_show_audio_only_projection_chip"
    name: "status_bar_show_audio_only_projection_chip"
    namespace: "systemui"
    namespace: "systemui"
+1 −3
Original line number Original line Diff line number Diff line
@@ -201,10 +201,8 @@ public class StatusBarIconView extends AnimatedImageView implements StatusIconDi
        reloadDimens();
        reloadDimens();
        maybeUpdateIconScaleDimens();
        maybeUpdateIconScaleDimens();


        if (Flags.statusBarMonochromeIconsFix()) {
        setCropToPadding(true);
        setCropToPadding(true);
    }
    }
    }


    /** Should always be preceded by {@link #reloadDimens()} */
    /** Should always be preceded by {@link #reloadDimens()} */
    @VisibleForTesting
    @VisibleForTesting