Commit Graph

72 Commits

Author SHA1 Message Date
Ronish Kalia
4326b43cc3 [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
<add g3 doc link>

Bug: 304529413
Test: N/A
Change-Id: I921e99879cf2be50bc0232d88c5bb2dfcbdc1123
2024-02-14 14:25:53 +00:00
Oriol Prieto Gasco
ed2b12ce21 Set the container field of aconfig flags
Please see go/aconfig-flag-containers for more context

Test: m
Bug: 312769710
Change-Id: I828a1a1c5ab944283341ace924db97c4eadb7a7f
2024-02-07 20:00:41 +00:00
Mark Kim
6b64e92fc8 Merge "Use a separated flag for archiving feature in Settings" into main 2024-02-05 10:55:37 +00:00
Mark Kim
7adac0459c Use a separated flag for archiving feature in Settings
The new flag will replace the current PM-flag eventually, once they reach the same rollout status. Until then both flags are kept concurrently, to avoid a rollback of the feature.

This is done to reduce risk and potentially enable an isolated rollback
of Settings related logic, while keeping system logic intact.

Additionally, fix bug by replacing `System.getProperty("pm.archiving.enabled")` to `SystemProperties.getBoolean("pm.archiving.enabled", false)`

Test: InstalledAppCounterTest, AppButtonsTest, HibernationSwitchPreferenceTest
Bug: 323164382
Change-Id: I44a41d6a43a12134c4e3aa5df8ad6a9eb91758d4
2024-02-02 17:16:47 +00:00
Ze Li
25128d1102 [Hide DCK devices] Hide DCK devices from settings app (saved devices page).
Set preferences of DCK devices to be invisible in saved devices page.

Test: atest: com.android.settings.bluetooth.SavedBluetoothDeviceUpdaterTest
Bug: 322285078
Change-Id: I9bd38c1866f469f3c0395b77f935f7eb143ec70c
2024-02-01 20:32:32 +08:00
Angela Wang
106690e059 Merge changes I3ae8f945,I126ef66d into main
* changes:
  New flag "enable_hearing_aid_volume_offset_control"
  New flag "enable_hearing_aid_preset_control"
2024-01-25 05:08:40 +00:00
Angela Wang
a32d3cb218 New flag "enable_hearing_aid_volume_offset_control"
Bug: 301198830
Test: m
Change-Id: I3ae8f9458f1f43f844b393d64fe10009e43ee664
2024-01-24 17:03:43 +00:00
Angela Wang
5ef53eafdd New flag "enable_hearing_aid_preset_control"
Bug: 300015207
Test: m
Change-Id: I126ef66d9477bbd7eb085e05fa4132c65e885beb
2024-01-24 17:01:57 +00:00
Ze Li
7ef6a7dd4d Merge "[Connected devices page] Reorder devices by most recently used." into main 2024-01-24 09:02:37 +00:00
Ze Li
41b12fe8eb [Connected devices page] Reorder devices by most recently used.
Order the saved bluetooth devices by most recently connected in connected devices settings page.

Test: atest: com.android.settings.connecteddevice.SavedDeviceGroupControllerTest, com.android.settings.connecteddevice.PreviouslyConnectedDevicePreferenceControllerTest
Bug: 306160434
Change-Id: Id5ad8555a026d775d96ada37f989b4346336af93
2024-01-23 08:14:29 +00:00
Haijie Hong
82688cc1d3 Add bluetooth profile toggle visibility checker
Bug: 321178209
Test: atest BluetoothDetailsProfilesControllerTest
Change-Id: Ic6c040a5a500d51945893061623526271eba94c7
2024-01-22 17:32:09 +08:00
Angela Wang
3c71a5ff22 Merge changes from topic "ha-new-pairing" into main
* changes:
  New hearing device pairing page (2/2): MFi devices
  New hearing device pairing page (1/2)
2024-01-16 09:41:37 +00:00
Angela Wang
3e9f1ff659 New hearing device pairing page (1/2)
Rewrite a new hearing device pairing page with update UI for "See more
devices".

Bug: 307473972
Test: atest HearingDevicePairingFragmentTest
Test: flip the flag com.android.settings.flags.new_hearing_device_pairing_page && atest HearingAidPairingDialogFragmentTest AddDevicePreferenceControllerTest
Change-Id: Ic60601905e3d0d7d7c5b1ef9733652118a211f1d
2024-01-16 03:49:34 +00:00
Jan Tomljanovic
a01eee9bd2 Merge "Protect "Lock after timeout" page with an auth challenge." into main 2024-01-11 15:32:30 +00:00
Jan Tomljanovic
be50a8f6f3 Merge "Require authentication for changing USB preferences." into main 2024-01-03 15:19:21 +00:00
Jan Tomljanovic
b3e3fcb0fb Merge "Add auth challenge for increasing screen timeout." into main 2024-01-02 12:08:38 +00:00
Jan Tomljanovic
db40deb26f Require authentication for changing USB preferences.
Test: atest SettingsRoboTests
Test: also tested manually
Bug: 317367746
Change-Id: I17daaad7c7772664cae6d12cf2322991827f33bb
2023-12-22 15:18:05 +00:00
Jan Tomljanovic
c4ec19acfa Protect "Lock after timeout" page with an auth challenge.
Test: manual
Bug: 315937886

Change-Id: Ib3da9f783892828c0c9cfdc4ebb27b2d982e5274
2023-12-21 14:45:12 +00:00
Andy Yu
fd6e4f8a9a Merge "Add Settings switch to disable Game default frame rate" into main 2023-12-20 21:59:42 +00:00
Jan Tomljanovic
6b4c754f5e Add auth challenge for increasing screen timeout.
We only require one auth after onStart(), and only for increasing the
timeout.

Test: atest SettingsRoboTests:com.android.settings.display.ScreenTimeoutSettingsTest
Test: also manually tested
Bug: 315937886
Change-Id: If4aed67736cd7545d3a518aadd8253ea6a9fae43
2023-12-20 21:53:56 +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