Commit Graph

213 Commits

Author SHA1 Message Date
Gil Cukierman
18403f2adc Merge changes from topic "cukie-300248708-hide2gremoval" into main
* changes:
  Stop honoring CarrierConfigManager.KEY_HIDE_ENABLE_2G
  Add feature flag for removal of KEY_HIDE_ENABLE_2G
2023-10-04 20:12:53 +00:00
Treehugger Robot
094a73867c Merge "Fix missing declared accessibility PreferenceControllers." into main 2023-10-03 08:22:02 +00:00
Gil Cukierman
a0b51d6988 Add feature flag for removal of KEY_HIDE_ENABLE_2G
This flag will guard soft removal of the logic to honor
the CarrierConfigManager.KEY_HIDE_ENABLE_2G API.

Bug: 300248708
Test: m Settings
Change-Id: I6a0e94f7208a4f148a3758b327fcd4990175038b
2023-10-02 21:02:11 +00:00
Daniel Norman
35265e838f Fix missing declared accessibility PreferenceControllers.
This includes 3 fixes:

Adds missing settings:controller attribute for bold & high-contrast
text preferences.

Separates VibrationSettings into two fragments, one per fragment XML resource.
  Instead of using a conditional to choose the XML resource ID,
  we now use the conditional to choose which fragment to launch.
  This allows both fragment's preference controllers to be inspected
  by CodeInspectionTest#runSliceControllerInXmlInspection.
  Also updates the preference keys which must be unique per XML in order
  to appear in Settings Search.

Adds Magnification preference controllers to exempt-not-in-XML list.
  These controllers are for fragments that are not declared in an XML.
  See ToggleScreenMagnificationPreferenceFragment
        #getPreferenceScreenResId.

Bug: 289967175
Test: atest SettingsRoboTests:com.android.settings.accessibility
Test: atest CodeInspectionTest#runSliceControllerInXmlInspection;
      Observe no errors in the accessibility package.
Test: Open Settings > Accessibility > Vibration & haptics;
      observe vibration intensity page is shown (behavior unchanged).
      Hardcode config_vibration_supported_intensity_levels=1;
      observe vibration page with toggles is shown (behavior unchanged).
Change-Id: I257b5ad390371bedb1623af6289016b06d478707
2023-10-02 18:00:30 +00:00
Omer Ozer
8d4d286d8f Add feature flags for Factory Reset Wizard.
Bug: 301283840
Test: Manual
Change-Id: I1e0d71003fe8a5fe93de6ee5a8c725b5abafb048
2023-09-29 18:17:18 +00:00
Yiyi Shen
8e51eeecd2 Merge "Update bug id for feature flag." into main 2023-09-21 09:00:37 +00:00
Yiyi Shen
54b31c30ec Update bug id for feature flag.
Bug: 296507968
Bug: 299405720
Test: Manual
Change-Id: I75df8939cc78cd69d672b974ab6787457fa8350a
2023-09-21 15:23:51 +08:00
XingHai Lu
990412f23a Add flag for B&R sound settings
Bug: 278975761
Test: adb shell device_config put onboarding_experience com.android.settings.flags.enable_sound_backup true
Change-Id: Ia774b1d5f3740b4964eb3cb1501ea4779f203956
2023-09-19 14:06:58 +08:00
Charlotte Lu
8ac60b5237 Add flag to change to the new APN page.
Fix: 300203760

Test: Visual
Change-Id: I0f869fb847f0a108487eb84509a736129fe42223
2023-09-13 07:15:35 +00:00
Allen Su
bce9d2a4fb Add LocaleNotificaiton feature flag
Bug: 248514263
Test: adb shell device_config put settings_globalintl com.android.settings.flags.locale_notification_enabled true
Change-Id: Ibfc9b7fb8c39962af1b062feb98d073207887fb9
2023-08-29 07:58:02 +00:00
Zoey Chen
9dc4943e09 [Terms of Address] Create a feature flag for it
Bug: 297798866
Test: adb shell device_config put settings_localepicker com.android.settings.flags.terms_of_address_enabled true
Change-Id: I1d954edfe99bb56fdd69a53ffafe5c8ed2b05da2
2023-08-28 11:52:22 +00:00
Yiyi Shen
27d709ac79 Rename aconfig declarations to a common name.
Bug: 296507968
Test: Manual
Change-Id: I5e5ecb64d593939addcf356cb619c0944326af24
2023-08-28 17:40:15 +08:00
Yiyi Shen
14c611a37c Add flag for Subsequent pair Settings integration
Bug: 296507968
Test: Manual
Change-Id: I87002c4e8143df1e67e3c32eff6d654575b81051
2023-08-28 14:06:30 +08:00