5/23/2023 0 Comments System ui tunerThe SystemUI application observes changes to icon_blacklist, so we can programmatically control the value from the shell. Below is a mapping of those names to their Settings description: Name It's a comma-separated list of all the icon names. This is what the value looks like with all the icons disabled: $ adb shell settings get secure icon_blacklistĮthernet,mobile,airplane,managed_profile,zen,cast,wifi,alarm_clock,hotspot,bluetooth Fortunately for us, these changes are persisted into Settings.Secure under the key icon_blacklist. With the UI found under System UI tuner -> Status bar, developers can easily turn off most of the primary status icons (except for notifications, battery level, and clock). We can fairly easily control them from both the device shell and using public APIs in an application. The best part is, both of these features are externally accessible.
0 Comments
Leave a Reply. |