Commit Graph

102096 Commits

Author SHA1 Message Date
Presubmit Automerger Backend
8c9de62546 [automerge] Enable Encryption & Creds UI for Secondary users 2p: f1255b4298 2p: 352f747f82
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17348343

Bug: 123211155
Change-Id: I51660795644e0e61e2fc5f0aff0f75890123e45a
2022-03-23 19:01:38 +00:00
Presubmit Automerger Backend
352f747f82 [automerge] Enable Encryption & Creds UI for Secondary users 2p: f1255b4298
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17348343

Bug: 123211155
Change-Id: Ie00fce7c07aec140dcf7598a4e31c46453a6ab3f
2022-03-23 19:01:32 +00:00
Ayush Sharma
f1255b4298 Enable Encryption & Creds UI for Secondary users
Bug: 123211155
Test: Manual,m -j RunSettingsRoboTests
Change-Id: Ic669102c72a5270423f000d5326b48c91901a0ed
2022-03-23 19:00:34 +00:00
Xinyi Zhou
da41600d8c [automerge] Update API according to API council feedback 2p: ad5e65a338 2p: d883631dc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17355055

Bug: 225116248
Change-Id: I98784295a0832770b27568af8a7507e0ae39eea3
2022-03-23 18:54:35 +00:00
Xinyi Zhou
d883631dc5 [automerge] Update API according to API council feedback 2p: ad5e65a338
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17355055

Bug: 225116248
Change-Id: I454e3e7139c3151bd2e5f1f1b0185f44c78d3306
2022-03-23 18:54:23 +00:00
Xinyi Zhou
ad5e65a338 Update API according to API council feedback
Test: built and verified logs
Bug: 225116248
Change-Id: I9e0f82446ddd80737b3ee5f92a1bbb1838eef30e
2022-03-23 11:50:37 -07:00
Bill Yi
e2bd7d9886 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie196fdd648f8d7e1df21cd7323aa851d164db6c2
2022-03-23 18:22:15 +00:00
Bill Yi
2e2d48ed50 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 70d210b974 2p: 03a0e1f76e
Blank merge reason: parent was merged -s ours

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

Change-Id: Ib86e1ebf1939a428ca5c68b63c31c963f2ef1fd7
2022-03-23 18:19:07 +00:00
Bill Yi
03a0e1f76e [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 70d210b974
Blank merge reason: commit message contains skip directive

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

Change-Id: I6a955910c7423fd7969b75e6aba20c9f04628313
2022-03-23 18:18:39 +00:00
Bill Yi
70d210b974 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1925648483a881594f948162c6167facdcc3b268
2022-03-23 18:17:31 +00:00
TreeHugger Robot
b81c42d043 Merge "Fix System language option missing and locale region missing issue" 2022-03-23 18:16:07 +00:00
TreeHugger Robot
0cad38f06f Merge "[Panlingual][patch] Handle onLocaleSelected." 2022-03-23 18:16:07 +00:00
Bill Yi
abb0f07146 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I568e9468bcef9fb4bfe8a6e5c5d2573fa3c018b3
2022-03-23 18:13:16 +00:00
Bill Yi
5a15b32995 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a2aacc0aac
Blank merge reason: commit message contains skip directive

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

Change-Id: I3a298ec797195f9f7240b4c51c26657d91f4e764
2022-03-23 18:09:34 +00:00
Bill Yi
a2aacc0aac Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifea2ae405190a88de4e795fd91ec426f7cea3be5
2022-03-23 18:09:25 +00:00
Bill Yi
4f7405f4d8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I33b6f6118cbf42a488e1369b41c7a87ab8e888cf
2022-03-23 18:07:37 +00:00
Bill Yi
a624ee3140 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifbd5a108750f88997c469b01bbddd357e74070c5
2022-03-23 18:05:54 +00:00
Bill Yi
ab0bfefb6c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I58009fae8d10e23e7ebaec62817ebb90475c6d28
2022-03-23 18:01:17 +00:00
Bill Yi
c2e03b0a34 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I04fa07dc7042775ce964d9d1e6a2af4d8b7cd12b
2022-03-23 17:57:21 +00:00
Bill Yi
71c4f28a23 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 2aec804097
Blank merge reason: commit message contains skip directive

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

Change-Id: If7606162a56f2d6b003424c71b7341516bfea187
2022-03-23 17:53:49 +00:00
Bill Yi
2aec804097 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I878477ca669ea08c234a859312994165fe6d6b4c
2022-03-23 17:53:40 +00:00
Bill Yi
32c162a22c [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: d8a0564189 2p: bb28476c84
Blank merge reason: parent was merged -s ours

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

Change-Id: I86de65c79377009451276ef399dc8c45ccaf296e
2022-03-23 17:52:25 +00:00
Bill Yi
bb28476c84 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: ff73238f91 2p: d8a0564189
Blank merge reason: parent was merged -s ours

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

Change-Id: I1474c1522055ed7c65cfdbaa8fabedb46776f044
2022-03-23 17:52:19 +00:00
Bill Yi
d8a0564189 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: ff73238f91
Blank merge reason: commit message contains skip directive

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

Change-Id: I81351f8d440bef564488a48ff79712079ff9146e
2022-03-23 17:52:07 +00:00
Bill Yi
ff73238f91 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic11d9411bd3dad03d1a8904cbaf97a6731adaa6b
2022-03-23 17:51:54 +00:00
Matt Pietal
607f402bff [automerge] Update multiple users strings 2p: 296b904bf1 2p: 6a966b0aff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17352043

Bug: 219078700
Change-Id: I06147b00879436ddbc477061c6dfb40c5e8c12d7
2022-03-23 17:40:52 +00:00
Matt Pietal
6a966b0aff [automerge] Update multiple users strings 2p: 296b904bf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17352043

Bug: 219078700
Change-Id: Ib2e47960b4602cacf727f18d47fe405b850c3ef4
2022-03-23 17:40:45 +00:00
Matt Pietal
296b904bf1 Update multiple users strings
To match latest guidance

Bug: 219078700
Test: manual
Change-Id: Ieef884e046e1e1798cc98a553bcd902c1374d069
2022-03-23 13:39:42 -04:00
Lucas Silva
4bfc3ea2d1 [automerge] Update screen saver overlay toggle description 2p: 0f29d1562d 2p: 072d2beb83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17352044

Change-Id: Ia1067f8cc23c198c42209ae0f40f4b6ee2a06031
2022-03-23 17:31:24 +00:00
Lucas Silva
072d2beb83 [automerge] Update screen saver overlay toggle description 2p: 0f29d1562d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17352044

Change-Id: I3c000b5d042373d8617f6648e4957dd7c57dd8f9
2022-03-23 17:31:18 +00:00
Lucas Silva
0f29d1562d Update screen saver overlay toggle description
Change-Id: I6baab768fd845211e0d0eaf98b6a59cff4e25832
2022-03-23 17:31:00 +00:00
Kweku Adams
4af3a51672 [automerge] Update enable toggle processing. 2p: 058796b7eb 2p: 9b0a2c7612
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17262737

Bug: 158300259
Bug: 189850067
Bug: 205624100
Change-Id: Icff006a5f699fefefe2545f37c56babcfc4cf1c8
2022-03-23 16:44:27 +00:00
Kweku Adams
9b0a2c7612 [automerge] Update enable toggle processing. 2p: 058796b7eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17262737

Bug: 158300259
Bug: 189850067
Bug: 205624100
Change-Id: I90b5e133853d6521e6af5c0ee761e57f5ee37537
2022-03-23 16:44:18 +00:00
Kweku Adams
058796b7eb Update enable toggle processing.
1. Use a ContentObserver so the UI is always up-to-date.
2. Don't write a value when it would effectively be putting the default
   value and the current value is null. This allows us to have a "use
   default" option so that DeviceConfig can take over if a user ever
   resets to default settings.

Bug: 158300259
Bug: 189850067
Bug: 205624100
Test: manually toggle and look at logcat for expected values
Change-Id: I429977d37cd8afc2ce12b89cbac002503484ad7e
2022-03-23 16:43:39 +00:00
Shivam Agrawal
8d6b19c0bf [automerge] Ignore PublicVolumeSettingsTest#test_invalidSetupDoesNotCrashSettings 2p: c39ddd2624 2p: 5178f33861
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17353323

Change-Id: I013479e1be66fb21b3799a1966e7a09c5a7a0990
2022-03-23 16:34:23 +00:00
Shivam Agrawal
5178f33861 [automerge] Ignore PublicVolumeSettingsTest#test_invalidSetupDoesNotCrashSettings 2p: c39ddd2624
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17353323

Change-Id: Id63cfa4a0749f2471794046da1edf2cb0bd65a3d
2022-03-23 16:34:17 +00:00
Shivam Agrawal
c39ddd2624 Ignore PublicVolumeSettingsTest#test_invalidSetupDoesNotCrashSettings
It failed with Resources$NotFoundException and it blocks
WindowManager extensions CTS tests, so ignore it at first.

Bug: b/213322133 b/216630912
Test: atest com.android.settings.deviceinfo.PublicVolumeSettingsTest
Change-Id: I6827344b5316a4e57302bfc2e7ec4cf3674d6990
2022-03-23 12:31:28 -04:00
Yi Jiang
70128d9016 Moves battery saver warning message below Screen Attention setting.
Test:  make RunSettingsRoboTests -j40
Bug: 220252566
Change-Id: Ib51a0d73c13700c981d1ca789d2ab669e57d814d
2022-03-23 15:52:35 +00:00
Yuri Ufimtsev
1d52aa0072 [automerge] Postpone getting Metrics Category until it is needed 2p: af22553089 2p: 8e7599c129
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17352025

Bug: 226105654
Change-Id: I1122bdd840f7874d28ec812e7e85189ece104d79
2022-03-23 15:47:10 +00:00
Yuri Ufimtsev
8e7599c129 [automerge] Postpone getting Metrics Category until it is needed 2p: af22553089
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17352025

Bug: 226105654
Change-Id: If1206914f684741e59e331f6d26a8fc5d7bfc528
2022-03-23 15:47:02 +00:00
Yuri Ufimtsev
af22553089 Postpone getting Metrics Category until it is needed
Test: manual

Bug: 226105654
Change-Id: I9473ddfd72e38bff4f93b43d539c467b2e13e258
2022-03-23 15:41:54 +00:00
Ricky Wai
1aa790501f Update restricted setting dialog, unlock toast, and menu strings
Bug: 224970895
Bug: 224992636
Bug: 224970884
Bug: 224988456

Test: Can see updated strings and toast in UI
Change-Id: I29e257fcc15310558ae8e56cbc51de3c874471ed
2022-03-23 14:39:17 +00:00
Chaohui Wang
c22c9f0eb2 Merge "Fix SetupChooseLockPasswordTest" into tm-dev am: 8ba7ed6451 am: ba394bec83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17347883

Change-Id: I8ace1f8f19841f659dfaa8427023acbace4ea237
2022-03-23 13:49:24 +00:00
changbetty
dacce1fae3 Move the QrCodeGenerator from Settings to SettingsLib for Wifi and BT
Bug: 214338905
Test: Manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=QrCameraTest
Change-Id: I1ca3e9e0b2cdc9fd3f32da8c5329c0e887ee3427
2022-03-23 13:38:46 +00:00
Chaohui Wang
ba394bec83 Merge "Fix SetupChooseLockPasswordTest" into tm-dev am: 8ba7ed6451
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17347883

Change-Id: I49044c2b8fd210d20ed6437f9e1cad0e081644fd
2022-03-23 13:22:17 +00:00
Chaohui Wang
1ad2b83207 Merge "Fix SetupChooseLockPasswordTest" into tm-dev am: 8ba7ed6451
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17347883

Change-Id: Ic1e2a5c85f2e7ebb2b78ff9dcabc359d4ae032f5
2022-03-23 13:22:12 +00:00
Chaohui Wang
8ba7ed6451 Merge "Fix SetupChooseLockPasswordTest" into tm-dev 2022-03-23 13:09:19 +00:00
Lais Andrade
68d7b91bb1 Add summary to "Vibration & haptics" settings
Use VIBRATE_ON main toggle to display on/off state as summary for
"Vibration & haptics" settings provider.

Fix: 220218654
Test: VibrationPreferenceControllerTest
Change-Id: Ifd4b9c7b1cb68ad0ea535091804a1e7f54297c44
2022-03-23 12:14:52 +00:00
jasonwshsu
4bfe215e4c Add link functionality in message of magnification triple-tap dialog
Bug: 210593079
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ShortcutPreferenceTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=MagnificationModePreferenceControllerTest
Change-Id: Id69b0b717410b5c5c44a818c36688bb7331c73ae
2022-03-23 19:44:33 +08:00
jasonwshsu
3b96a2c57e Apply new flow to hint user about triple-tap will delay when user select triple-tap shortcut on window-mode.
Root Cause: Original content in magnification switch shortcut dialog needs to have different versions for different accessibility software shortcuts. Use the generic content and new flow to replace it.

Solution: Apply new flow from UX suggestion.

Bug: 210593079
Test: make RunSettingsRoboTests ROBOTEST_FILTER=MagnificationModePreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityDialogUtilsTest
Change-Id: Id09b8847cca4fce1f3fb77770a03bff53ae05855
2022-03-23 19:43:03 +08:00