Wa Gao
c80dfbccb6
Add the new content protection preference option and subpage in Settings -> Security & privacy -> More security & privacy settings.
...
Bug: 302189945
Test: robotests
m -j256 Settings
atest SettingsRoboTests:ContentProtectionPreferenceControllerTest
atest SettingsRoboTests:ContentProtectionPreferenceFragmentTest
Change-Id: I620d73f8674c1340f9b11cd910620f1d5afb0ec1
2023-10-26 19:34:58 +00:00
Julia Reynolds
db679c9100
Merge "Remove duel switch from NAS switch" into main
2023-10-26 13:03:16 +00:00
Chaohui Wang
43306392ea
Fix Base_TextAppearance_AppCompat_Widget_Button
...
The correct namespace is androidx.appcompat.R
Bug: 303768224
Test: m Settings
Change-Id: I4715703538252d5d9cf7f26f2f2ec0cd959db0e2
2023-10-26 09:10:08 +00:00
Krzysztof Kosiński
d2703f38a2
Merge "Clean up obsolete aliases for Truth." into main
2023-10-26 07:05:36 +00:00
Charlotte Lu
1a5038b580
Merge "Get network type from options." into main
2023-10-26 05:50:54 +00:00
josephpv
ee5e1ceb03
Start private space setup when there is no private space set
...
This change handles as below based on if private space already exists on device:
1. If PS doesn't exist then start the setup flow which shows a PS education screen. On setup button creates the private space.
2. If PS already exists on device then display PS settings page.
Bug: 299069146
Test: atest PrivateSpaceSettingsAuthenticatorTest
Change-Id: I46bdbaeb0210fd5b41a426f852e3f455b62c1c29
2023-10-25 21:17:33 +00:00
Joseph Vincent
1ef91389e2
Merge "Add toggle to hide private space entry point in All Apps" into main
2023-10-25 21:17:01 +00:00
Omer Ozer
ce8a641dff
Merge "Add factory reset intent to the settings app." into main
2023-10-25 20:43:04 +00:00
Julia Reynolds
7679fec17e
Remove duel switch from NAS switch
...
Test: NotificationAssistantPreferenceControllerTest
Fixes: 301340325
Change-Id: Id41fad70bdcda6de75b59befe3654b733dbf66e3
2023-10-25 13:01:57 -04:00
josephpv
eace275921
Add toggle to hide private space entry point in All Apps
...
This change includes implementaion for below:
1. Add a preference inside private space settings page with a toggle switch to control hide/unhide
private space entry in All Apps
2. Store the preference value in settingsprovider for persistence.
Bug: 302682054
Test: Manual
Change-Id: Ia1a56fc2c43550e23c00a61a5ce4742e42effcbe
2023-10-25 14:46:11 +00:00
Chaohui Wang
27dd22302f
Merge "Migrate to CompoundButton" into main
2023-10-25 10:48:16 +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
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
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