Rset the save schedule mode into none directly if the current mode is
routine, since the 'schedule by routine' is removed from saver setting
Bug: 258603978
Test: make RunSettingsLibRoboTests -j40
Change-Id: I261737e5c0ae23ceac7bd4b1b8d45526a60b2899
The shield will be displayed when the battery is marked as overheated.
Bug: 255625888
Test: manual: issue `adb shell am broadcast -a com.android.systemui.demo
-e command battery -e overheated true` and verify the battery icon
displays a shield
Test: See bug for manual demo video
Test: statusbar.battery tests
Change-Id: I6b3036ae47ad7b5ae8dc78f83d019130935c9b50
This CL builds out a new configuration resource
`carrierid_icon_overrides`, and a format that allows for overriding a
known network type with an arbitrary icon.
We store a mapping of all known carrierId overrides that exist, and
check for an override for the `carrierId & networkType` combination at
runtime.
This CL also caches the calculation in SystemUI since it represents a
new expensive calculation potential at the time of display for the icon.
Lastly, add demo mode command parsing for carrierId
Test: atest MobileStateTest; atest NetworkControllerDataTest
Test: manual using `-e carrierid <id>` network subcommand
Bug: 241996752
Change-Id: Id0e8acf179db5c3a70f4caf31e58f8d8040690a0
Cloned apps should be displayed in the personal tab only and not in new
tab. Hence modify the personal tab filter to include apps whose user
profile has the property set as
UserPropert.SHOW_IN_SETTINGS_WITH_PARENT. Likewise also mofify the work
tab filter to not display these apps.
Bug: 248204976
Test: manual (verfied with primary, clone and managed profile present on
device at the same time)
Test: make RunSettingsLibRoboTests -j40 ROBOTEST_FILTER=ApplicationsStateRoboTest
Test: atest ApplicationsStateTest
Change-Id: I619f2bfe65837e30bfbcdecd43314f735d03b321
The new method represents the real underlying operation, which is a
routing session transfer to a different device. The appropriate method
for route selection is selectRoute(RoutingSessionInfo, MediaRoute2Info).
This change is a non-functional refactor.
Bug: 238178508
Bug: 205124386
Test: atest CtsMediaBetterTogetherTestCases MediaDeviceTest
MediaRouter2Manager InfoMediaManagerTest
Change-Id: Ic199686849365138049ccb73189bbc03703117b1
The AppList will reload the apps when every on start, it will also
register a broadcast receiver for package changes.
Bug: 235727273
Test: Manually with Settings
Test: Unit test
Change-Id: Iddc39f73db1cb6cc6a2d5e1f6dc459f46f7cdbb8
With this, we can align the TopAppBar's font size & height with current
Settings.
Bug: 235727273
Test: Manually with Gallery
Test: Manually with Settings
Change-Id: Ieb60350b15c5f251f6369637b9eb572f78cc535b
Also change MPAndroidChart's implementation to api.
Bug: 235727273
Test: Unit test
Test: Manual with Gallery App
Change-Id: I34f6b3881c068d9c17692b6bfd4d72f249758c24
* changes:
Integrates Bluetooth HAP service client into SettingsLib (3/3)
Integrates Bluetooth HAP service client into SettingsLib (2/3)
Integrates Bluetooth HAP service client into SettingsLib (1/3)
Default no header, when added, displayed before all the apps.
Also add unit tests for AppList.
Bug: 235727273
Test: Unit test
Change-Id: Ie4f45c4334d110a5ccd5d7d6cedc95d90bb10134
Some device or when Compose preview, the font config is empty.
Use the default font family when the config is empty to fix.
Bug: 235727273
Test: Unit test
Test: Manual with Gallery App
Change-Id: Ifd9c5bbc3d446e5fdb5f393ad994c7545656ead6
This CL contains two fixes:
- Make sure view is laid out before calling createBitmap.
- Organize some field declarations.
Bug: 246412041
Test: manual
Change-Id: Icd5637086b3935afe89743472e68bbd3a6102222
Enable Media Provider to use SettingsLibProfileSelector and
SettingsLibSelectorWithWidgetPreference sub libraries directly by
allow listing Media Provider's apex.
Test: m SettingsLib
Test: Build Media Provider
Bug: 195009187
Change-Id: I8ef91668b4d882e4d50d16c8721874315bf91da6