This way when everything is hidden in security, the whole category is
hidden also.
Bug: None
Test: Robotests
Change-Id: Ib4120975133df7910c5d5229a82d4052364501ac
This is not a correct fix, in the longer term we should stop using
framework internal strings entirely.
Test: robotest
Change-Id: I47f93793fde1e9d5ba850ca4897f820d4919dda4
- Use the new launcher in AccountTypePrefernce for now. Will migrate the
rest in follow up CLs.
Change-Id: I67aa49f54b39ecea4ecfdc32ccbd827d21fc79b8
Bug: 73250851
Test: robotest
And pass though some extras through to notification settings.
This enables us to highlight appropriate preferences on the
subscreens while still funneling users through the app info
screen.
Test: make RunSettingsRoboTests
Bug: 72764587
Change-Id: I0197b595fe4bf3504588d9dd2985dd20de73c640
On small screens < sw400dp,
- Don't show icon
- Don't show "Screen lock options" button
Test: cd tests/robotests && mma
Bug: 72764729
Change-Id: I8d9863d43c877fcc18f504d91d3183760b3fafc2
If an account type has no valid label, null is returned. Check the value
to make sure that it is a valid label before adding it to the summary.
Change-Id: I0cf3ef9a976e1a7fe16720da237f416c674791fc
Fixes: 73375480
Test: make RunSettingsRoboTests
In BatteryTipLoader, two threads may access BatteryDatabaseManager
simultaneously. In this case thread A may close the database thread B
holds, then settings will crash.
In this cl, we make the BatteryDatabaseManager as singleton and
synchronize all the database related method. Then it shouldn't have
the crash anymore.
Bug: 73346734
Test: RunSettingsRoboTests
Change-Id: Ib53b2894b25155cca0c6ec60d1a816663d27a578
This permission is required to access the ScopedAccessProvider. Although
Settings doesn't currently needs it because it has implicit access because
it runs as UID 1000, it's better to explicitly grant it.
Bug: 72055774
Test: atest CtsAppSecurityHostTestCases:ScopedDirectoryAccessTest#testResetDoNotAskAgain,testResetGranted
Change-Id: I843d7e4a1f674b4e012ac7f744d6ffccadde5a24
Add focus to SSIDtext to show IME when choosing add network.
Bug: 72882629
Test: RunSettingsRobotests & Manual test
Change-Id: I1c51c4b800a7668c6760c88b97e920cf75c26b26
Using this, we split overlays based on their category, so that
cutout emulation and theme overlays no longer clash in their
respective settings.
Bug: 72436677
Test: make ROBOTEST_FILTER=EmulateDisplayCutoutPreferenceControllerTest RunSettingsRoboTests
Change-Id: I23f22113351b3948beb9e3a1fb969700852539cc
Update margin of summary of ring volumn settings,
to align with Title.
Bug: 69978042
Test: Robotest and manual test
Change-Id: Id621bc4b2d755f84d68df6729731356dcdd3a625
This permission was renamed during the O previews but it was supported on the
final O release, so we need to carry it over.
Test: manual verification
Bug: 70682223
Change-Id: I24b41358fba7449d9216b49aa8b90480906cfb67
We don't want SHOW_ADMIN_SUPPORT_DETAILS intent to be handled
by other apps.
Bug: 69981936
Test: make -j32 RunSettingsRoboTests
Test: manual - Install another app which handles SHOW_ADMIN_SUPPORT_DETAILS
intent and verify that when SHOW_ADMIN_SUPPORT_DETAILS intent is
triggered, Settings activity gets launched.
Change-Id: I6f764fe53b32559da829d515dd448c817b6bf7c9