Commit Graph

138454 Commits

Author SHA1 Message Date
chelseahao
13461d2fb8 Add auto on toggle in settings.
Test: atest com.android.settings.bluetooth
Bug: b/316822488 b/316985153
Flag: ACONFIG com.android.settingslib.flags.bluetooth_qs_tile_dialog_auto_on_toggle DISABLED
Change-Id: Iaa8ce3d3f6e2ffa25d8b7a35b5f55f4774ac4a40
2024-02-20 15:42:31 +08:00
Chaohui Wang
e9917e2f48 Fallback to NUMERIC when CARRIER_ID is unknown
For some subscription, the carrier id is unknown (-1), which cause the
inserted APN not be displayed.

Fallback to NUMERIC when CARRIER_ID is unknown to fix this issue.

Fix: 324394199
Test: manual with esim test profile - carrier id -1
Test: unit tests
Change-Id: Ic63a3e0c9ab37c8bdf86a2c7155b08778f05deff
2024-02-18 16:26:15 +08:00
Mark Kim
faba808e5e Merge "Disable APP_ARCHIVING flag for specific test" into main 2024-02-17 10:01:14 +00:00
Treehugger Robot
8f0c7f63ee Merge "Use parent profile for device credential" into main 2024-02-17 05:30:38 +00:00
Mark Kim
bf0ea22082 Disable APP_ARCHIVING flag for specific test
APP_ARCHIVING flag was introduced to control archiving feature in
Settings separately from OS.
The broken test was expecting archiving feature flag be disabled but it
didn't take into account a newly introduced flag which was automatically
rolled out in ag/26270549

Test: AppButtonsTest
Bug: 325632047
Change-Id: I02a1f4e2e2bfa1b85f2d993c4127698c8a6195dc
2024-02-17 00:47:05 +00:00
David Liu
f1c1e011b2 Merge "Fix keyboard navigation issue, searchbar not able to be selected." into main 2024-02-16 23:26:45 +00:00
David Liu
9489a97754 Fix keyboard navigation issue, searchbar not able to be selected.
- make search toolbar focusable
- set next tab navigation element to homepage_container

Bug: 324420544
Test: manual

Change-Id: I991390e9d980092dfe11b15dcb81563ed3b0d4d1
2024-02-16 19:09:58 +00:00
Becca Hughes
62fa76f719 Merge "Hide "additional services" if there is only a single primary services" into main 2024-02-15 23:54:59 +00:00
Bill Yi
12f88cebaa [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: 0e856c1a68 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26240501

Change-Id: I32bd12ac6a9db56ff271962ae1d01ba74194faba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-15 22:16:44 +00:00
Bill Yi
d960c2f373 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 09454f8635 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26240501

Change-Id: I29b59dbefb46c278fa36ce97bcc0bbbe67e233f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-15 22:16:36 +00:00
Bill Yi
d282ef8545 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3d8af28675 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26240500

Change-Id: I96b73e2c494726f92625af5accc0e1e385eaadd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-15 22:16:21 +00:00
Bill Yi
0e856c1a68 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2024-02-15 21:28:56 +00:00
Bill Yi
a3aef0ade2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ccabf894c1 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26240499

Change-Id: Ib154cf9c9211af50272628c369a9890ad04fe6d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-15 20:07:27 +00:00
Bill Yi
e28934a9f9 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-02-15 18:10:24 +00:00
Bill Yi
1018c0e5f6 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-02-15 18:10:24 +00:00
Bill Yi
913dc3d0ce Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-02-15 18:10:24 +00:00
Joshua Mccloskey
1c711222f9 Merge "Adding more biometric screenshot tests" into main 2024-02-15 17:17:51 +00:00
YK Hung
73b273d781 Merge "Add a protection for the null UID corner case" into main 2024-02-15 14:09:34 +00:00
ykhung
15e853a1b9 Add a protection for the null UID corner case
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.datasaver
Fix: 324571889
Change-Id: Ia5a63dc360d4b518f2b86315b40bc2db12f007ed
2024-02-15 12:43:17 +00:00
Ben Murdoch
44f2967454 Merge "Accept new bluetooth device name on enter press." into main 2024-02-15 11:38:15 +00:00
Joseph Vincent
597d23e5b3 Merge "Update string Lock private space automatically" into main 2024-02-15 09:43:35 +00:00
Bill Yi
3114df2864 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I199b5d951dec97d970fb749f05d51d4e261f344b
2024-02-14 16:26:42 -08:00
Bill Yi
9c634dde40 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1a754a9bfa4ed6765e266536180bbaafb1e26660
2024-02-14 16:12:37 -08:00
Bill Yi
9210d1bacd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I97ab928639ee53166fbb2ceca87d9eea7796e4e9
2024-02-14 16:07:28 -08:00
Amith Yamasani
022a815033 Intent handler for new BACKGROUND_RESTRICTIONS_SETTINGS
Use the existing battery usage screen as entry point
for ACTION_BACKGROUND_RESTRICTIONS_SETTINGS.

Bug: 320150834
Test: am start -a android.settings.BACKGROUND_RESTRICTIONS_SETTINGS
      atest ActivityManagerTest#testBackgroundRestrictionsIntent
Change-Id: I479ab666334eeb3232a9200b70a6d3ce2ddd2ad9
2024-02-14 22:27:10 +00:00
Becca Hughes
74f8cb6eeb Merge "Update button strings for new design" into main 2024-02-14 20:42:38 +00:00
Ahaan Ugale
a4f81032f2 Merge "Update sensitiveNotificationAppProtection reference after move." into main 2024-02-14 19:40:32 +00:00
Bill Yi
09454f8635 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2d59d3beebc4e0d05779836201fd704c4a5a62fc
2024-02-14 10:16:01 -08:00
Bill Yi
3d8af28675 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iac69519b9a3a9023a16096ebcacec2e97b41cdc8
2024-02-14 10:14:30 -08:00
Bill Yi
ccabf894c1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibfe05bce22ad8ddee12426783d4c6a5c55706e1b
2024-02-14 10:11:49 -08:00
Becca Hughes
797694855f Update button strings for new design
Updates the positive button strings see
mocks here:

https://screenshot.googleplex.com/6hLciwYTPMsYytt
https://screenshot.googleplex.com/ASAotxvEHnrDodq

Implementation:

https://hsv.googleplex.com/4658122816749568
https://hsv.googleplex.com/5590705238966272

Bug: 322074376
Change-Id: I8488d4b9414448bfbfc9462fe5450681bfbbfbdb
Test: flash device
2024-02-14 18:00:32 +00:00
Ronish Kalia
371c96cbc7 Merge "[DON'T BLOCK] Test ownership migration rules" into main 2024-02-14 17:03:46 +00:00
josephpv
cfbbc5e207 Update string Lock private space automatically
Screenshot : go/ss/A5CaxvsWijoydYV.png

Bug: 325180579
Test: Manual
Change-Id: I59a3518d607532c0a8ae4bac18b4dd0d40666041
2024-02-14 15:44:58 +00:00
Prabir Pradhan
c6f30c3eab Merge "Fix StylusDevicesControllerTest after adding a stylus setting" into main 2024-02-14 15:00:09 +00:00
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
Prabir Pradhan
c44fca064b Fix StylusDevicesControllerTest after adding a stylus setting
When the build allows for pointer icons to be shown for styluses, a
third preference controller will be shown to toggle the pointer icon for
styluses.

Bug: 325014309
Test: atest StylusDevicesControllerTest
Change-Id: I0b4d2a9b19492fb8e4c8c904116ca763ca77cb8e
2024-02-14 04:20:57 +00:00
josephpv
dd57b93266 Change CHAR limit for localization query
Increase privatespace_search_description limit to 90 chars

Bug: 324559345
Test: Manual
Change-Id: I9b6b7c5a0a3391dea32192a3866fd531d93f5ce5
2024-02-13 20:48:45 +00:00
Joseph Vincent
13e570f104 Merge "Add illustration to final screen in PS setup and update existing illustrations." into main 2024-02-13 20:33:52 +00:00
Becca Hughes
7046a96c9a Merge "Update "none selected" state to align with mocks:" into main 2024-02-13 20:15:18 +00:00
Becca Hughes
c627cdbdba Hide "additional services" if there is only a single primary services
There is a case where there is a single primary service (e.g.
a fresh device) and we should hide additional services in that
case.

Test: unit + manual
Bug: 325077523
Change-Id: I9efb785ac3f7a328fdccd138e585f766d46fa282
2024-02-13 19:06:07 +00:00
Diya Bera
f7ffa201f4 Use parent profile for device credential
Flag: Flags.ENABLE_BIOMETRICS_TO_UNLOCK_PRIVATE_SPACE
Bug: 320458435
Test: N/A
Change-Id: I9ee46d53df5f0617da643f1cf51db811a5eec478
2024-02-13 11:05:28 -08:00
Joshua McCloskey
d92faeb1cf Adding more biometric screenshot tests
Test: atest FingerprintEnrollIntroScreenshotTest FingerprintEnrollFindSensorScreenshotTest FingerprintEnrollEnrollingScreenshotTest
Bug: 297083009
Change-Id: I11df6fbaefa9d333dcfe803577947a4be7af9882
2024-02-13 18:59:46 +00:00
Becca Hughes
5cbc60dcf3 Merge "Fix bug where maximum provider limit was not being reflected" into main 2024-02-13 18:52:59 +00:00
josephpv
e9f3a0925b Add illustration to final screen in PS setup and update existing illustrations.
Screenshots:
- go/ss/9KhqUSezFKHnyys.png

Recording link:
- b/321694009#comment2

Bug: 323156268
Bug: 321694009
Test: Verified manually
Change-Id: Ib8abc080f31cad0a9be3b73a1694be744c108a06
2024-02-13 18:27:17 +00:00
Richard (Torne) Coles
c7138d9378 Merge "Use WebViewUpdateManager instead of raw AIDL." into main 2024-02-13 18:10:36 +00:00
josephpv
7ff2ab0df1 Update with latest icon in private space setup flow screens
Screenshots:
go/ss/9gaHk7iCpTVxi9S.png
go/ss/4s6vqq3RTvExK6b.png
go/ss/7uhBhrtU69E4SKv.png
go/ss/A3B98AiPBWPXtNA.png

Bug: 325043422
Test: Manual
Change-Id: I37b0707617287745239517a3113ef248f721c3f8
2024-02-13 15:02:20 +00:00
Chengfei Tao
d1618f94ff Merge "SettingsGoogle: Add ContextualScreenTimeout" into main 2024-02-13 01:44:06 +00:00
Becca Hughes
f368299931 Fix bug where maximum provider limit was not being reflected
The limit of 5 providers had two issues, one it did not
reserve one slot for primary which meant that you could
enable 6 and also even though it wouldn't save and would
show an error when you hit that limit the toggle was not
reset which made it look like it was enabled.

Test: on device + unit
Bug: 324426504
Change-Id: Ibec4efd6394835729869194181161fe8ae743e76
2024-02-12 23:45:35 +00:00
Becca Hughes
6cca4f32e6 Update "none selected" state to align with mocks:
Mocks:
https://screenshot.googleplex.com/BYsmSRcRL5dhjve

Implementation:
https://hsv.googleplex.com/4797150908121088

Change-Id: I47e8f784fa850da4271170d44b3eb770721c3e8b
Test: on device & unit
Bug: 322074376
2024-02-12 23:29:27 +00:00
chengfeitao
ffb6e7e21b SettingsGoogle: Add ContextualScreenTimeout
Store contextual screen timeout preference when the
corresponding switch is toggled.

Bug: 295232527

Test: atest ExternalSettingsProviderTest
Test: atest ContextualTimeoutPreferenceControllerTest
Change-Id: I093d180f4b11ebb806c4b1949ff5428520c8f40f
2024-02-12 23:14:40 +00:00