Allow devices to specify their own flags by overriding this class.
Additionally, fix a missing PackageManager lookup in getIntent().
Bug: 348647186
Test: launch Settings on Pixel and on AOSP
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:287181169485eb30203c7b698b1f8ee618059e29)
Merged-In: I2489a64804f068a957f9be3f87847d6911b24447
Change-Id: I2489a64804f068a957f9be3f87847d6911b24447
(Some icons are temporary, until we get the final assets)
Also some fixes/improvements to CircularIconsPreference:
* Show the correct placeholder and +N icons.
* Fix the displayIcons-before-measure case (global layout listener was incorrect).
* Properly cancel pending image load futures (field didn't point to the actual future).
* Don't reload icons if it's the same set (depends on equals() for the items, so unfortunately doesn't work for AppEntry yet).
Test: atest com.android.settings.notification.modes
Bug: 346551087
Flag: android.app.modes_ui
Change-Id: I9d029a5fdd785ada4e2ba4d8a90eba72b5fb9085
Update the text for Notifications cooldown (previously
known as Adaptive notifications) settings.
Fix: 354052311
Flag: com.android.server.notification.polite_notifications
Test: N/A
Change-Id: Iacada2effe312d34726a7cbccbd97d919af4329a
With this change when secondary unlock factor for private space is
initiated from settings page only the option to set traditional unlock
factors will be shown and biometric option will not be shown.
User will return to private space unlock settings screen. User should be
able to manually set up biometrics form its dedicatated settings entry
point after authentication.
Recording:
b/332850595#comment7
Flag: android.multiuser.modify_private_space_secondary_unlock_setup_flow
Bug: 332850595
Test: Manual
Change-Id: I8feb8c23300ddb537c428f3675178c5ff49932d1
When the admin disabled a pin/pattern/pass, the summary should now
reflect this.
Test: N/A
Fixes: 343213209
Flag: EXEMPT bugfix
Change-Id: I87e6fbefd014e2623948abbf82b452208e8ef58e
(Several things pending, such as the +n icon and the correct pending icons, but it's a start).
Test: atest com.android.settings.notification.modes
Bug: 346551087
Flag: android.app.modes_ui
Change-Id: Ifd2ab6a8bb447739dc8ffe400c3960779d477fd6
WifiConfigController2 passes in
WifiConfiguration.MacRandomizationSetting to methods that expect
WifiEntry.Privacy enums, resulting in the wrong values being saved and
displayed for the edit dialog. Fix this by making sure the correct
WifiEntry values are used.
Note that the Network Details Page uses
WifiPrivacyPreferenceController2, which uses the correct values.
Flag: EXEMPT bugfix
Bug: 284230986
Test: atest WifiPrivacyPreferenceController2Test, atest
WifiConfigController2Test, manually verify adding a new network saves
the config with RANDOMIZATION_AUTO by default and changing the value
works correctly.
Change-Id: I84dc7cc50d04360aca611ca80ee400a97b693722
Which is forgot to update in Icd5559bce06c059844269d70926b3c0b39589edb
Bug: 346420411
Flag: EXEMPT test only
Test: atest AppInstallerInfoPreferenceTest
Change-Id: If21215b81008c03a6b6ad2a77a90073a6d708390
Return null for getSurveyFeatureProvider, since this will be called by
SurveyMixin during test.
Bug: 346420411
Flag: EXEMPT test only
Test: atest ResetNetworkConfirmTest
Change-Id: I7d0fab039bf96a2ef453e35dcf88cbdb77f01523
This change removes the TODO comment that was tracking to move over to
Biometric intent KeyguardManager.createConfirmDeviceCredentialIntent.
The hidden KeyguardManager.createConfirmDeviceCredentialIntent is being
used by various frameworks clients and is still avialable for use in settings.
Bug: 304796434
Test: Manual
Flag: EXEMPT removing todo
Change-Id: I5566d56e743e88afbcca0c4167c8a797e41b1a97