In order to prevent DoS attack from icon size, we're using
a system lib to help convert any loaded drawable into a flattened
bitmap with an appropriate size.
Test: Open recent app screen and then no crash
Change-Id: Ie148890fbbbf71f42863a8fe727a90615158b8c1
Fix: 33646131
am skip reason: Change-Id I8b948d1d416e1eb79e34be073b8ad81645d5ebb1 with SHA-1 73038f556d is in history
Change-Id: I621b637776584d1c51e9794d7b3d8a44d887c2b2
am skip reason: Change-Id Ie2f527309f9159babe79636a69ff13fe3ceb64d9 with SHA-1 b54d2f90f2 is in history
Change-Id: I80ec62b13bc64387e3dcbc858631b357730dcccd
It's not needed as logic of detecting disabled pSIM is moved to
Telephony.
Bug: 147791865
Test: sanity
Change-Id: I158243bcf59e6c39fb55421632e7013ebc80ae80
These controllers extended AbstractPreferenceController, which is not
quite compatible with some of the present framework. Especially for
indexable keys of settings search.
TetherEnabler and AllInOneTetherSettings are refactored based on the
change. Tests are updated.
Bug: 147272749
Test: CodeInspectionTest and other tests of classes touched by this CL
Change-Id: Ic3ad13e735d133c0959a0a309319a6fd5165b015
am skip reason: Change-Id I0847d1dea352d0e3b87b1bb95d5c2600a80a7438 with SHA-1 80d9fcbf1b is in history
Change-Id: I51eb0db82ff5e0f55e9d3f09c79e0f5aaaef42bc
* If the location is disabled by admin, then the
preference is disabled and the toggle is no
longer shown. This means that setChecked is no
longer called and the verify statement can be removed.
* If the location is off, the summary should be
'Location is off' rather than 'off'. The verify
statement is now updated with the correct summary.
Bug: 148755845
Test: atest com.android.settings.location.LocationForWorkPreferenceControllerTest
Change-Id: I089be0c4f8e8ec8c10160771055730289d72c8ed
Extend the style from TextAppearance.Widget.EditText which
has hint color of #808080 and contrast ratio 3.95
Bug: 146908018
Test: Manual visual
Accessibility scanner shows contrast ratio 3.95
Change-Id: Ie20e750095af30a217166cdffeda2e29cec970e3
The profile will auto connect / disconnect when set enable / disable
profile. This CL remove connect / disconnect method.
Bug: 141582844
Test: make -j42 RunSettingsRoboTests
Change-Id: Ib875d126be0d8483fb539e7ba950242a4f38cf81
The feature will not be landed in R. So remove the settings UI.
Bug: 146473544
Test: make RunSettingsRoboTests
Change-Id: I602d175d616c4ba1bb9f003a1dc349f58268898f
1. Code refactor
2. Apply ImsQueryProvisioningStat class to VoLTE's use case
Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gBasePreferenceControllerTest
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gLteSliceHelperTest
Change-Id: Ie5a56e9b768b9abe88c635e4e5532d72c9ddd1a2
am skip reason: Change-Id I10cf17419636c3c30e1ec06bb3e6751cb5c65d9b with SHA-1 98678221fa is in history
Change-Id: I542dbaf8c20d98a31419381b86d8ed99fbed13f6