Commit Graph

137579 Commits

Author SHA1 Message Date
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
Chaohui Wang
2260edba20 Merge "Migrate xml to SwitchPreferenceCompat" into main 2023-10-25 07:23:38 +00:00
Chaohui Wang
c4a3a50d58 Migrate to CompoundButton
Switch and SwitchCompat are both CompoundButton.

Using CompoundButton in Java will helps migration in the future.

Bug: 306658427
Test: manual - on affected pages
Change-Id: I7cdc2601879a85d33f77239e38263320d5a6984e
2023-10-25 14:57:48 +08:00
Charlotte Lu
d061ae4c6a Get network type from options.
Fix: 307633026
Test: Visual Test
Change-Id: Ie251eb24196da6fc9ac578a35695368720edf78b
2023-10-25 14:45:04 +08:00
Chaohui Wang
70c4dcd507 Migrate xml to SwitchPreferenceCompat
Bug: 285231003
Test: manual - on affected pages
Change-Id: I83283fcc4b241596a8f0cdf5299417bce2810d0c
2023-10-25 14:22:20 +08:00
Chaohui Wang
12ea5afdf1 Not call MainSwitchBar.getSwitch()
This is private implement details, will be removed in future.

Should call MainSwitchBar's isChecked() and setChecked() to ensure
main switch bar's style is set correctly.

Bug: 306658427
Test: manual - on wifi tether
Test: manual - on developer options
Test: m RunSettingsRoboTests
Change-Id: I292ffbcf73da0721fc206e3dac7610a0aeb20047
2023-10-25 13:52:43 +08:00
Chaohui Wang
e752f7214b Remove unused SwitchBar
Only used in tests, so also migrate the tests.

Bug: 306658346
Test: manual - on bluetooth
Test: m RunSettingsRoboTests
Change-Id: Id2b010c1d9c32abe21dcc8765e9446fc4f7a5b25
2023-10-25 12:17:49 +08:00
Treehugger Robot
03a064fcd1 Merge "Migrate test to TwoStatePreference" into main 2023-10-25 03:30:10 +00:00
FanWu
187067647c Update SpellCheckerPreference to support multi-line title
Bug: 306060312

Test: Manual
Change-Id: I729e702b0a0adeb634caf03f4be816d5e097ecf4
2023-10-25 01:52:52 +00:00
Fan Wu
cbaedfa6d5 Merge "Update owners file" into main 2023-10-25 01:49:34 +00:00
Omer Ozer
e148ee7877 Add factory reset intent to the settings app.
Bug: 302016478
Test: local
Change-Id: I784395931b32746cb45a447b330ea8d57c17b2fe
2023-10-24 23:59:33 +00:00
Chaohui Wang
066909bc07 Merge "Rearrange Settings dependencies" into main 2023-10-24 23:09:00 +00:00
Krzysztof Kosiński
0efd6d855e Clean up obsolete aliases for Truth.
Bug: 255714762
Test: presubmit
Change-Id: I9b83d3dbcc88b91ebfb88d90ebaee6d960ac7d0b
2023-10-24 23:03:57 +00:00
Joshua McCloskey
302aa72446 Settings ChooseLockscreen* dismiss in background.
Whenever launching
ChooseLockGeneric/ChooseLockPassword/ChooseLockPassword the activity
will finish itself when it goes into the background. This is to ensure
that a user only has an opporunity to complete this process once the
activity is shown. (It cannot be resumed after a power button press, or
sending the activity to the background)

Test: Verified in Settings that the ChooseLockGeneric,
ChooseLockPassword and the ChooseLockPattern activities now exit if they
are sent to the background.
Test: Same as above but in SUW
Test: m -j40 RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.password.ChooseLockPatternTest
Test: m -j40 RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.password.ChooseLockPasswordTest
Fixes: 287473148

Change-Id: Icc9142ff4672ab3669b2f425ff351b03ce7a223a
2023-10-24 21:45:16 +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
Joseph Vincent
f29e758da9 Merge "Make private space settings page non searchable" into main 2023-10-24 12:12:18 +00:00
josephpv
31b044ed6a Prompt user to Setup a device lock if not set
This add below changes on selecting private space setting:
1. Prompt user to setup device lock if not already set
2. If device lock is set authenticate user first before displaying private space settings page

Screenshot - https://screenshot.googleplex.com/4SrYHbBMJfVuoRy.png
https://screenshot.googleplex.com/6vNWm7Lg83vfnH8.png
RecordingLink - https://drive.google.com/file/d/1r4zb3ILPRqwvP5tlwfjQ9GgnDAW4vZg6/view?usp=drive_link

Bug: 289016927
Test: atest PrivateSpaceSettingsAuthenticatorTest , atest SecuritySettingsTest
Change-Id: I0e5dfb30213843c0dec60a17d01c30cd91db89b0
2023-10-24 10:42:57 +00:00
josephpv
0fe1bc58b2 Make private space settings page non searchable
Screenshot: https://screenshot.googleplex.com/7tBd5FQ3F8SZceR.png

Bug: 306602816
Test: manual settings search for "Private Space"
Change-Id: I8fc19f6db3b002a62f82dfa9754277da26bf74c0
2023-10-24 10:27:40 +00:00
FanWu
045ab32693 Update owners file
Test: not required
Change-Id: I4195cc6bc3c5ec3e8882258ec2d73ed64385a756
2023-10-24 18:23:06 +08:00
Chaohui Wang
2a166676d4 Migrate test to TwoStatePreference
Bug: 306771414
Test: m SettingsUnitTests
Change-Id: I67c8e0c7f04faba377a156587f43929ac73e500f
2023-10-24 18:14:50 +08:00
Yiyi Shen
852ec4e22d Merge "[Audiosharing] Add audio sharing settings with the main switch." into main 2023-10-24 09:50:40 +00:00
Mark Kim
680a183ab7 Merge "Do not show "Not installed for this user" summary for archived app" into main 2023-10-24 09:02:17 +00:00
Yiyi Shen
4410df7f42 [Audiosharing] Add audio sharing settings with the main switch.
Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I9ca520014d3f6f7147bb9b8e7648797e79b46f53
2023-10-24 16:12:13 +08:00
Chaohui Wang
6c3a637f2d Merge "Migrate new() to SwitchPreferenceCompat" into main 2023-10-24 08:05:18 +00:00
Chaohui Wang
fcc636d571 Rearrange Settings dependencies
Bug: 285231003
Test: m Settings
Change-Id: Id5adab7d9a24265b98db9959c30904e82ad60dd4
2023-10-24 15:44:38 +08:00
Chaohui Wang
a0abccadc6 Merge "Migrate mobile settings to SwitchPreferenceCompat" into main 2023-10-24 07:30:45 +00:00
SongFerng Wang
ae7b0b0996 Merge "Add try-catch for set/get wifiCalling mode" into main 2023-10-24 06:40:24 +00:00
Chaohui Wang
cfdb3b1f1b Migrate new() to SwitchPreferenceCompat
Bug: 306658427
Test: manual - on Settings pages
Change-Id: I258a8c63d5c46403c6d333a9d2f34c33cb35e27f
2023-10-24 14:05:34 +08:00
SongFerngWang
5ce87cb03d Add try-catch for set/get wifiCalling mode
The APIs can throw IllegalArgumentExceptionm, the UI need the try-catch.

Bug: 299239773
Bug: 287946939

Test: build pass
Change-Id: I4b413abc985dfa871d3c2d39798b51dc1a686313
2023-10-24 13:47:30 +08:00
Chaohui Wang
7c95dad1dd Migrate mobile settings to SwitchPreferenceCompat
Also set switch style.

Bug: 306658427
Test: manual - on Mobile Settings
Test: unit test
Change-Id: Ia0bcf9646076636b95f0b31c34113cce45f2e51a
2023-10-24 10:48:23 +08:00
Joshua Mccloskey
5036a9cb17 Merge "Created biometric provider." into main 2023-10-24 00:41:18 +00:00
Jim Shargo
da2c46d926 Merge "Revert "Adding back screenshot test to Settings."" into main 2023-10-24 00:06:03 +00:00
Jim Shargo
0d67f55cba Revert "Adding back screenshot test to Settings."
This reverts commit 4dc4e1c02a.

Reason for revert: broke the build

Change-Id: I3037248a5df06d6f92dfa9c5666625f23230646a
Bug: 307406217
2023-10-24 00:05:48 +00:00
Joshua Mccloskey
29c9e4c0b6 Merge "Adding back screenshot test to Settings." into main 2023-10-23 21:16:42 +00:00
Peiyong Lin
aad20f216d Unconditionally enable ANGLE developer option UI.
Bug: b/283781993
Test: atest CtsAngleIntegrationHostTestCases -c
Test: atest SettingsRoboTests:GraphicsDriverEnableAngleAsSystemDriverControllerTest
Change-Id: I7f491151cc26dc10ccdb2900cfa81ff09c23b184
2023-10-23 20:39:46 +00:00
Joshua Mccloskey
4dc4e1c02a Adding back screenshot test to Settings.
Test: atest SettingsScreenshotTests
Fixes: 307356833

Change-Id: I9e168010d6c83aad44969c60deaef8e61a10ddd1
2023-10-23 20:08:29 +00:00
Bill Yi
ff55fd7cb5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: 639cfd9c3f -s ours am: cccaf5a711 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9483ec7ff7785033d8a2f95fe86e102c29246a28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-23 19:57:47 +00:00
Bill Yi
5d64ed8097 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a3d94436f2 -s ours am: 7093b062bb -s ours
am skip reason: subject contains skip directive

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

Change-Id: If9d7a79acd028544048e92cbbb80a7d9d22674c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-23 19:57:44 +00:00
Bill Yi
2741f41063 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: ff0925c00f -s ours am: 00f546568c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6634d9e1a454a92a547ea8c16adf9bb7ba487e69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-23 19:57:31 +00:00
Bill Yi
9899094182 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5f6854e60a -s ours am: 0bf6e27ecc -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ide4b96e7f93ba6df8e957abd4d2c0c040b8e8d95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-23 19:57:13 +00:00
Bill Yi
cccaf5a711 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: 639cfd9c3f -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id72c67f45850ce7ee070bf953337451d901da59c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-23 19:36:53 +00:00
Bill Yi
7093b062bb [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a3d94436f2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I67aa0cb798b4efb40a90935455b7cf0797ab956c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-23 19:36:49 +00:00
Bill Yi
00f546568c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: ff0925c00f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I621a669257f47089b2ca8ee08063f321d55d23d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-23 19:36:40 +00:00
Bill Yi
0bf6e27ecc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5f6854e60a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2256098a5f45dd8844461368ec6cb9824ae4143c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-23 19:36:18 +00:00
Jihoon Kang
4721b48cbe Merge "Temporarily disable nullaway plugin" into main 2023-10-23 19:29:13 +00:00
Bill Yi
639cfd9c3f Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-10-23 19:16:21 +00:00
Bill Yi
ff0925c00f Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-10-23 19:16:21 +00:00
Bill Yi
b638507751 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fb88ae863a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I030b6955dd756c1b44a78f52589701af3116e61e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-23 19:14:40 +00:00
Bill Yi
40b64880ba Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-10-23 19:08:22 +00:00