Commit Graph

53 Commits

Author SHA1 Message Date
Andy Yu
fd6e4f8a9a Merge "Add Settings switch to disable Game default frame rate" into main 2023-12-20 21:59:42 +00:00
Andy Yu
e6e57cffbd Add Settings switch to disable Game default frame rate
This patch adds a new toggle under Developer settings. It defaults
to off, meaning game default frame rate is not disabled. Users
can choose to togge it on to disable game default frame rate.

When a user toggles this switch, it calls to GameManagerService
to update the frame rate of games that are currently in the
foreground and coming games.

screenshots:
https://screenshot.googleplex.com/8jTWyNBhJm7zC4x
https://screenshot.googleplex.com/5junmXtuHnRxyL2

Bug: 286084594
Bug: 306266471
Test: m; flash
Test: atest
SettingsRoboTests:GameDefaultFrameRatePReferenceControllerTest
Change-Id: Ide843f61e57e244d6e1fc30f93b2358b2bcb655b
2023-12-15 13:20:17 -08:00
Chun-Ku Lin
d92f17cdf5 Merge "Convert a11y shortcut edit screen to a full screen." into main 2023-12-14 22:19:08 +00:00
Chun-Ku Lin
64e946c7fa Convert a11y shortcut edit screen to a full screen.
Bug: 300302098

Flag: adb shell device_config put accessibility com.android.settings.accessibility.edit_shortcuts_in_full_screen true

Test: manual
Test: atest com.android.settings.accessibility.shortcuts

Change-Id: I0b5e367fed962ff01036122ce7ff32a8ae47fbc3
2023-12-14 20:50:33 +00:00
SongFerng Wang
3d3159656c Add the flag to control the dual sim onboarding feature
Bug: 298898436
Bug: 298891941
Change-Id: I8ba94b6aab4056ce314d2d267cd79a5a6c1490e8
Test: Build pass
2023-12-13 07:15:47 +00:00
Haijie Hong
952d9f6514 Add flag to offload bluetooth callback/operations to background thread
BUG: 305636727
Test: m Settings
Change-Id: Iafb90965af6508300679fa16e8fb25d7c3098bcf
2023-11-30 11:05:39 +00:00
Edgar Wang
58bed09373 Refactor AppPicker to adopt the latest UX
- get rid of ListActivity
- add aconfig

Bug: 299195099
Test: manual
Change-Id: I922ffb46f3132d117b0f682d8076f9e975d02b2c
2023-11-23 22:17:12 +00:00
Chris Antol
8e4c2473e8 Merge "Make Mainline Module update intent explicit" into main 2023-11-20 18:39:22 +00:00
Chris Antol
54f6b164fa Make Mainline Module update intent explicit
Change-Id: Iaacbebcb5328d50f0bdaa554782144315140e143
Test: Existing unit test
Test: on-device verified tapping UI element still navigates to Play's update screen (About phone > Android version > Google Play system update)
Bug: 278987474
2023-11-15 19:50:48 +00:00
Chun-Ku Lin
0f2cc34230 Don't show quick settings tooltip if the user is in the Setup Wizard,
since the user can't access the Quick Settings Panel.

Bug: 294560581
Test: manual
- Turn on feature flag: adb shell device_config put accessibility com.android.settings.accessibility.remove_qs_tooltip_in_suw true
- Modify the font scale in SUW, verify the QS tooltip doesn't show up
- Modify the font scale after SUW, verify the QS tooltip shows up
Test: atest SettingsRoboTests:com.android.settings.accessibility

Change-Id: I1d1a4f8f70ea3e1d929952d5c273de1b4cd80503
2023-11-14 23:30:49 +00:00
Treehugger Robot
24c989a070 Merge changes from topic "wv-dev-opt" into main
* changes:
  Add feature flag for force L3 dev option
  Add Widevine developer option to settings
2023-11-14 22:54:03 +00:00
Kyle Zhang
519d26d8f0 Add feature flag for force L3 dev option
Bug: 301669353
Change-Id: I289bed846982e94584fdb067e84186a61587d578
2023-11-14 21:52:06 +00:00
Jacky Wang
e4761149f3 Add cancel button to Erase all data (factory reset)
Bug: 300634367
Test: unit test & manual test
Change-Id: I860955291b27ea1f7c748ac746b91153224eacb7
2023-11-10 13:32:00 +08:00
Haijie Hong
005c47f19c Add feature flags for VolumePlus
BUG: 309052662
Test: m Settings
Change-Id: I36aad5bb290aee835d586f0791347ab3a05e77f1
2023-11-07 04:55:49 +00:00
Sally Qi
6584f32b6a Merge "Settings: add a new developer menu entry to show hdr/sdr ratio overlay." into main 2023-11-03 19:13:06 +00:00
Sally Qi
fbb088ffdb Settings: add a new developer menu entry to show hdr/sdr ratio overlay.
- The hdr/sdr ratio overlay will be shown on screen if the option is
  selected from the developer option.
- This option is hidden on non-HDR-supported devices.
- Add flags: com.android.settings.flags.development_hdr_sdr_ratio

Test: enable show hdr/sdr ratio from developer menu; com.android.settings.development.ShowHdrSdrRatioPreferenceControllerTest
Bug: 291863102
Change-Id: Idd72f95c67c95cd8127f9b94e031b3d87b18e307
2023-11-03 11:02:07 -07:00
Alexander Roederer
855307c73e Merge changes from topic "b294333850-MailMail" into main
* changes:
  Adds group to DND settings if channel names same
  aconfig flag for dnd app settings channels dedupe
2023-11-03 03:01:43 +00:00
Faye Yan
b562a7cd8b Update the trunk stable flag for enabling voice activation apps in Settings.
Bug: 303727896
Change-Id: I82cf72dfaa5acc6d24749e607b9179c69381b3f2
Test: presubmit
2023-11-01 20:36:33 +00:00
Bill Lin
7b6440649e Merge "Add OWENRS for settings_biometrics_integration_declarations.aconfig" into main 2023-11-01 08:51:38 +00:00
Alexander Roederer
5107a0b190 aconfig flag for dnd app settings channels dedupe
Aconfig flag to control adding the group name to the channel name in the
DND App Settings page, to disambiguate channels that have identical
names in the list.

Test: adding flag; builds
Bug: 294333850
Change-Id: Icac50932e75b011b25b507b38433620c09680f3c
2023-11-01 01:41:41 +00:00
chelseahao
466225808f Add flag for LE audio private sharing via QR code.
Bug: 308368124
Test: Manual
Change-Id: I258add40bc5af14e45e066c2be32fc400e6e76e2
2023-10-31 08:11:12 +00:00
Angela Wang
6e12c484b2 Merge "Flag for new hearing device pairing page" into main 2023-10-30 06:19:58 +00:00
Angela Wang
fce6196de1 Flag for new hearing device pairing page
Bug: 307473972
Test: build pass
Change-Id: I9ecc16ca55bd12dfc6326a1e44d19cab4ada5196
2023-10-27 09:07:13 +00:00
David Magno
eb2276c01c Customize the text reading preview layouts
Make it possible to customize the available text reading preview
layouts through overlays.

Bug: 307481249
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.accessibility.TextReadingPreviewPreferenceTest"
(cherry picked from https://android-review.googlesource.com/q/commit:2a7da9c433f57db9b7b9ad5c54bddb5da81e5693)
Change-Id: I3e55eeb7545a4d5d1f689ab4160e453996b58bdb
2023-10-25 18:37:51 +00:00
lbill
d7a101783e Add OWENRS for settings_biometrics_integration_declarations.aconfig
Bug: 307473270
Test: make
Change-Id: Idd5100877def8074114ef2a085f09c2603905f5b
2023-10-25 09:23:17 +00:00
Daniel Norman
529090ba5d Merge "Adds 'App info' button on accessibility service + activity pages." into main 2023-10-24 21:23:50 +00:00
Daniel Norman
6616da3b71 Merge "Adds OWNERS for Settings aconfig flags, first for Accessibility." into main 2023-10-24 21:21:09 +00:00
Joshua McCloskey
7526b9259e Created biometric provider.
Test: Manually verified data was fetched successfully.
Test: adb shell device_config put biometrics_framework
com.android.settings.flags.biometric_settings_provider true
Test: atest BiometricSettingsProviderTest
Bug: 303595205

Change-Id: I154754eed7c36d659853ed83cc18a2e446fb7678
2023-10-23 18:50:58 +00:00
Daniel Norman
8946e64f28 Adds 'App info' button on accessibility service + activity pages.
This launches the existing app info page for the a11y feature's owning
package. Features without a valid component (framework features) do not
have this button. This is also not shown in Setup Wizard which does
not support the App Info page.

This helps users find more info about the app that provided an
accessibility feature.

Screenshot: https://screenshot.googleplex.com/B9FXLoomxFjLBv8.png
Flag: accessibility com.android.settings.flags.accessibility_show_app_info_button

Bug: 277378550
Test: atest ToggleFeaturePreferenceFragmentTest (robotest)
Test: Open and interact with the button, ensure it opens the app info
      page for the correct app.
Change-Id: I2041c09077ce5fadc72117dc0c72409dd33ef60b
2023-10-20 21:31:11 +00:00
Faye Yan
540d810107 Merge "Add setting flag for enabling voice activation apps in Special app access." into main 2023-10-20 18:37:40 +00:00
fayey
52cec79f1b Add setting flag for enabling voice activation apps in Special app
access.

Bug: 303727896
Test: presubmit
Change-Id: Ic01d6bb47db6150808483e8a4f42389e71885d62
2023-10-20 00:06:22 +00:00
Daniel Norman
ba4074b369 Adds OWNERS for Settings aconfig flags, first for Accessibility.
This is similar to frameworks/base/packages/SystemUI/aconfig/OWNERS
and allows subteams to add their own namespace's aconfig flags
without needing to bother the core Settings team for review.

Test: n/a
Change-Id: I562f544e744cf2ae3ce75162c9de92dd89bfadc4
2023-10-19 22:54:14 +00:00
Yiyi Shen
f8da70ac94 Add flag for LE audio sharing.
Bug: 305620450
Test: Manual
Change-Id: I61a1653419654eb21f70c583d8929baf6a433dbb
2023-10-19 16:46:14 +08:00
MiltonWu
3550029297 fingerprint pre-enroll calibration
Add calibration interface and dialog

Test: Manually doing enrollment without any exception
Bug: 301226085
Change-Id: Ibe0d205e87f75bb1d5bd1c646deb8501d96a4a5a
2023-10-18 04:25:14 +00:00
Wu Ahan
667341c343 Reland sfps enroll improvement feature with feature provider
Prior cl, ag/24720067, was reverted due to platinum failed,
this cl fixes the fails (NPE on UDFPS).

Bug: 288155127
Bug: 305132251
Test: Manually check on Lynx and Felix
Test: atest BiometricsE2eTests:FingerprintEnrollSuccessTest
Test: abtd for platinum, see b/305048300#comment14
Change-Id: I90f4ea14853edf03abd8ffe0b7874894eb2d4f81
2023-10-16 15:23:18 +00:00
Allen Su
ed4b7e736e Merge "Rename namespace to globalintl" into main 2023-10-13 05:14:33 +00:00
Priyanka Advani
a99bab5b57 Revert "Implement sfps enroll improvement feature with feature provider"
This reverts commit 2ffe187d1b.

Reason for revert: Likely culprit for b/305048300

Change-Id: Ia9d2d98bcb09d63dacde7134c20ded2ed51f9ab4
2023-10-12 19:02:20 +00:00
Allen Su
ff986f338d Rename namespace to globalintl
Bug: 301380610
Bug: 292155080
Test: adb shell device_config put globalintl com.android.settings.flags.locale_notification_enabled true
      adb shell device_config put globalintl com.android.settings.flags.terms_of_address_enabled true
Change-Id: I36d879e0121bd033d2b39189026b8cfe032e9fcf
2023-10-12 16:44:46 +00:00
Wu Ahan
2ffe187d1b Implement sfps enroll improvement feature with feature provider
Bug: 288155127
Test: Manually
Test: atest FingerprintEnrollEnrollingTest.java
Change-Id: Idb6e5afab4b9cbf8f2ed26819a55dcb34acb1ab9
2023-10-11 08:37:44 +00:00
Charlotte Lu
ed5c52f1eb Edit flag namespace to settings_experience
Fix: 304433296

Test: Visual
Change-Id: I9d81e02d130afb5ab0e2344faaf4fb6ef9449b7c
2023-10-10 14:30:36 +08:00
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