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
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
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
70c4dcd507
Migrate xml to SwitchPreferenceCompat
...
Bug: 285231003
Test: manual - on affected pages
Change-Id: I83283fcc4b241596a8f0cdf5299417bce2810d0c
2023-10-25 14:22:20 +08:00
Joseph Vincent
f29e758da9
Merge "Make private space settings page non searchable" into main
2023-10-24 12:12:18 +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
Yiyi Shen
852ec4e22d
Merge "[Audiosharing] Add audio sharing settings with the main switch." into main
2023-10-24 09:50:40 +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
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
Yiyi Shen
8e38bd0b3a
Update the wording for subsequent pair devices in Settings.
...
Change the wording form "Associated with account" to "Previously used
with account"
Bug: 296507968
Test: atest
Change-Id: Ibfb4acabe8713065c517d91bd9d59dbb3956159f
2023-10-20 16:50:43 +08:00
Chaohui Wang
d1577c5e68
Remove NetworkProviderSimsCategoryController
...
Which no real logic in it, just a proxy of
NetworkProviderSimListController.
Bug: 302628642
Test: manually - on MobileNetworkListFragment
Test: robo test
Change-Id: I4785ac9509f92f5a778e1bda1f8da12e2880589e
2023-10-19 15:56:22 +08:00
Chaohui Wang
c7d970a2f6
Add back title in xml
...
So search will work.
Bug: 280864229
Test: manual - try settings search
Change-Id: I1c54ce1b403bc2b06df31d398b3261f2aa6e51fb
2023-10-18 22:21:10 +08:00
Wilson Wu
9a43aff41d
Merge "Add keyboard vibration settings" into main
2023-10-18 07:18:30 +00:00
Wilson Wu
e9eb8e65ce
Add keyboard vibration settings
...
Introduce keyboard vibration preference settings
to control keyboard vibration state.
Bug: 289107579
Test: atest KeyboardVibrationTogglePreferenceControllerTest
Change-Id: I9cc5d53f1b22c460ad2acc7e4a412fefbca586df
2023-10-18 02:50:56 +00:00
Chaohui Wang
17f4fd5a08
BluetoothWiFiResetPreferenceController
...
Fix: 280864229
Test: manually rotate the screen
Test: unit test
Change-Id: I950ebae1c371ce05dd17710788eda3dc8bdfd2ca
2023-10-17 17:43:19 +08:00
Alice Kuo
c41abccb0f
Change the LE Audio Allowlist toggle wording
...
Change the wording from "Enable LE Audio Allowlist" to "Bypass LE Audio
Allowlist"
Bug: 300012501
Test: m SettingsGoogle
Change-Id: Ifc6544e443856d03d408783ecb070c5002ff14a1
2023-10-13 01:21:21 +08:00
Graciela Putri
73baa33064
Merge "Add aspect ratio settings to advanced category children" into udc-qpr-dev am: 6e9666ab53
am: 8319a77527
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24956690
Change-Id: Id37daa262c9f38adb7eaa0ed4ecb929979c3c08f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-12 10:00:52 +00:00
Graciela Putri
8319a77527
Merge "Add aspect ratio settings to advanced category children" into udc-qpr-dev am: 6e9666ab53
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24956690
Change-Id: Ib02ae9caef06a46938947806dac8aabb1fa12d94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-12 09:45:46 +00:00
Chaohui Wang
d18baed65f
Remove wifi_settings
...
Bug: 285231003
Test: m Settings
Change-Id: Ic3410e8449f97e0da049db053977a66f6e60b9b3
2023-10-12 14:35:57 +08:00
Saumya Pathak
2770170e0d
Merge "Show a separate tab for the Private Space" into main
2023-10-11 16:58:41 +00:00
Iavor-Valentin Iftime
54bec848cc
Merge "Settings for Polite Notifications" into main
2023-10-11 12:04:37 +00:00
Manish Singh
6efc455f2c
Show a separate tab for the Private Space
...
This covers all the known Settings pages using the tabbed view model.
https://docs.google.com/document/d/1CdjUjAE84-5ZEPRIfw5KYFjLVHtEZxc_sF0w95su8DA/edit?resourcekey=0-dAACT9HRexY1IyoxMmkVlw#heading=h.58jd58rmznte
Screenshots:
all apps
https://screenshot.googleplex.com/3E5Jm7Pi2JfN64r
with work tab:
https://screenshot.googleplex.com/8egk4yHK5jSENjR
PS Apps Special media management apps
https://screenshot.googleplex.com/BHHafqW7bgUwSGg
with work tab:
https://screenshot.googleplex.com/3cocdhruEmCCh5k
PS Location Services tab view
https://screenshot.googleplex.com/3DqJcT2BFTEpvYT
with work tab:
https://screenshot.googleplex.com/6Avpx6hxSrdGJw5
PS on screen keyboard tab view
https://screenshot.googleplex.com/4FzVNnBWwbUeJNw
with work tab:
https://screenshot.googleplex.com/8E8UhpWq8PL5nxU
PS password account tab view
https://screenshot.googleplex.com/6bDR4AKtth2S3EW
with work tab:
https://screenshot.googleplex.com/9msXV2TdHdJapch
PS storage tab view
https://screenshot.googleplex.com/5Nk2FTxwdmpEv3B
with work tab:
https://screenshot.googleplex.com/79tw2EaWZKfMsnC
PS appl_languages_work
https://screenshot.googleplex.com/3qrREeg3RQdHhhH
Bug: 302278487
Test: manual
Change-Id: I8cd39170827fbe251bc4075ef306206020b3a022
2023-10-11 12:32:17 +01:00
Graciela Wissen Putri
fcba73e30e
Add aspect ratio settings to advanced category children
...
Fix: 303823822
Test: Manual && atest AppDashboardFragmentTest
Change-Id: I5778efa6a1a790d76d9d35d1597d82fdc3707b3b
2023-10-09 17:35:07 +00:00
Chaohui Wang
741979bc02
Create AppDataUsageCycleController
...
To improve performance and better organization and testings.
Fix: 240931350
Test: manual - on AppDataUsage
Test: unit test
Change-Id: I277133b55378a3445aceb826d771b14c0fc91e4a
2023-10-09 16:19:08 +08:00
Chaohui Wang
08e24272e4
Create AppDataUsageAppSettingsController
...
For better organization and testings.
Bug: 240931350
Test: manual - on AppDataUsage
Test: unit test
Change-Id: Ie3d35f5d112cf06cca585c9859624d705fbe2655
2023-10-08 17:03:48 +08:00
Chaohui Wang
b19eb9a4c2
Create AppDataUsageListController
...
For better organization and testings.
Bug: 240931350
Test: manual - on AppDataUsage
Test: unit test
Change-Id: I77ceeccc7055fcd948fe40d5dfb9cc4a9b9ad2ee
2023-10-07 15:03:27 +08:00
Graciela Putri
23d3a3ca92
Merge "Add controller to Advanced category in Apps page" into udc-qpr-dev am: 963869ecda
am: 641b310890
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24937325
Change-Id: I0ccca7ab6beed64a51efa56e7a7dd4a26adbce94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-04 18:48:33 +00:00
Graciela Putri
641b310890
Merge "Add controller to Advanced category in Apps page" into udc-qpr-dev am: 963869ecda
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24937325
Change-Id: I39d4b0e6ffa0f071d97e4dd9b2c36c1ed22c3a2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-04 18:16:08 +00:00
Graciela Putri
963869ecda
Merge "Add controller to Advanced category in Apps page" into udc-qpr-dev
2023-10-04 17:54:24 +00:00
Graciela Wissen Putri
7bc951d205
Add controller to Advanced category in Apps page
...
Settings > Apps > Advanced (category)
Fix: 303309762
Test: Manually by disabling aspect ratio settings
Change-Id: I262fc954ad8d5ad65b24cc0966b8e5392cea65e5
2023-10-04 14:12:03 +00:00
Graciela Putri
74849c1458
Merge "Add warning text to Aspect ratio app info header" into udc-qpr-dev am: b5b8bd54a0
am: 112b5765e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24904381
Change-Id: I03e18dc136080e77054f42452b4ad928fd2a8a6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-04 14:03:32 +00:00
Graciela Putri
112b5765e0
Merge "Add warning text to Aspect ratio app info header" into udc-qpr-dev am: b5b8bd54a0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24904381
Change-Id: I6ad5d7d6d9972dca2e42462440648e90f09b28e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-04 13:32:33 +00:00
Graciela Wissen Putri
e08d0f88d3
Add warning text to Aspect ratio app info header
...
Settings > Apps > App info > Aspect ratio
Fix: 301440671
Test: Manual
Change-Id: I1d24a38c37cfb95e5711308c96f1fc8da91d5e53
2023-10-03 14:34:18 +00:00
Treehugger Robot
4cc92858f4
Merge "Config battery info page(1/2)" into main
2023-10-03 08:53:01 +00:00
Treehugger Robot
094a73867c
Merge "Fix missing declared accessibility PreferenceControllers." into main
2023-10-03 08:22:02 +00:00
Zoey Chen
6a3352e7a0
Merge "[ToA] Terms of Address UI, fragment in LocaleListPicker" into main
2023-10-03 07:46:49 +00:00
Wesley Wang
bace563189
Config battery info page(1/2)
...
- Make battery information page configurable
Bug: 301817717
Test: make SettingsRoboTests
Change-Id: I51bf00fe3d9993ecd4e8481cd7c15d70b3c09ec4
2023-10-03 07:36:52 +00:00
Zoey Chen
c2522b8f9d
[ToA] Terms of Address UI, fragment in LocaleListPicker
...
Test: atest TermsOfAddressCategoryControllerTest
Test: adb shell device_config put settings_globalintl com.android.settings.flags.terms_of_address_enabled true
Bug: 295826542
Bug: 297798866
Change-Id: I2b9af7cbe7cab0bb7b2168bc99f0fa7bc0903ac2
2023-10-03 06:36:05 +00:00
Daniel Norman
35265e838f
Fix missing declared accessibility PreferenceControllers.
...
This includes 3 fixes:
Adds missing settings:controller attribute for bold & high-contrast
text preferences.
Separates VibrationSettings into two fragments, one per fragment XML resource.
Instead of using a conditional to choose the XML resource ID,
we now use the conditional to choose which fragment to launch.
This allows both fragment's preference controllers to be inspected
by CodeInspectionTest#runSliceControllerInXmlInspection.
Also updates the preference keys which must be unique per XML in order
to appear in Settings Search.
Adds Magnification preference controllers to exempt-not-in-XML list.
These controllers are for fragments that are not declared in an XML.
See ToggleScreenMagnificationPreferenceFragment
#getPreferenceScreenResId.
Bug: 289967175
Test: atest SettingsRoboTests:com.android.settings.accessibility
Test: atest CodeInspectionTest#runSliceControllerInXmlInspection;
Observe no errors in the accessibility package.
Test: Open Settings > Accessibility > Vibration & haptics;
observe vibration intensity page is shown (behavior unchanged).
Hardcode config_vibration_supported_intensity_levels=1;
observe vibration page with toggles is shown (behavior unchanged).
Change-Id: I257b5ad390371bedb1623af6289016b06d478707
2023-10-02 18:00:30 +00:00
mxyyiyi
1b9eb170dd
Refactor Power Usage Time Page.
...
- Show use time category
Screenshot:
[Screen time with hint] https://screenshot.googleplex.com/3cRLrwevzw4iytb
[Background time with hint] https://screenshot.googleplex.com/zEf8PcWopCVCRZR
[without hint] https://screenshot.googleplex.com/9bao9sVd8s7VRwM
[enter from app info (without category)] https://screenshot.googleplex.com/8sozxMrq8ojadiF
Bug: 302063050
Test: Manual
Change-Id: Ic967d05a173afa76c2a958e1332dedd9f83cd687
2023-10-02 02:34:35 +08:00
Zoey Chen
60d3f7b7d2
Merge "[ToA] Terms of Address UI, fragment and the list: - Feminine, Masculine, Neutral, Not Specified" into main
2023-09-28 17:00:49 +00:00
Valentin Iftime
9f82e7381a
Settings for Polite Notifications
...
Adds settings page for polite notifications.
Test: atest PoliteNotificationsPreferenceControllerTest
Test: atest PoliteNotificationFilterControllerTest
Test: atest PoliteNotifVibrateUnlockedToggleControllerTest
Test: atest PoliteNotifWorkProfileToggleControllerTest
Bug: 270456865
Change-Id: I3ec497b068c15205df97bb26ee007beed8da9ee1
2023-09-28 09:42:50 +00:00
Zoey Chen
b501ab183e
[ToA] Terms of Address UI, fragment and the list:
...
- Feminine, Masculine, Neutral, Not Specified
Test: atest TermsOfAddressNotSpecifiedControllerTest, atest
TermsOfAddressNeutralControllerTest, atest
TermsOfAddressMasculineControllerTest, atest TermsOfAddressFeminineControllerTest
Bug: 295826542
Bug: 297798866
Change-Id: I490ace0035c809cac47bae460f558f13875ff18f
2023-09-28 02:23:57 +00:00
Chaohui Wang
2205762482
Improve the latency of DataUsageList
...
Up to 30x faster.
Currently it load the usage detail for every day at the beginning, so
it's quite slow.
To fix,
- Not load the usage detail for every day at the beginning
- Load only the cycles first
- And only load the daily detail for the selected month
Fix: 290856342
Test: manual - on DataUsageList (cell & wifi)
Test: unit tests
Change-Id: Ie18fa68f801743389bd6b6a28e236dcf1fea00e4
2023-09-27 08:05:02 +00:00
Weng Su
7cbef7df1f
Update Battery preference for Instant Hotspot am: ab895fdb9b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24834492
Change-Id: If9568f609efa9fb0484697eceac1f7f9a136abff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-22 18:06:51 +00:00
Weng Su
af77327017
Update Battery preference for Instant Hotspot
...
- Use the static battery full icon
- Show charging status in Battery preference summary
Bug: 300559036
Test: manual test
atest -c WifiNetworkDetailsFragmentTest
Change-Id: I89e811ba0d1b715d4fff23c96bc094cd4270fef7
2023-09-22 12:45:52 +00:00
Weng Su
ab895fdb9b
Update Battery preference for Instant Hotspot
...
- Use the static battery full icon
- Show charging status in Battery preference summary
Bug: 300559036
Test: manual test
atest -c WifiNetworkDetailsFragmentTest
Merged-In: I89e811ba0d1b715d4fff23c96bc094cd4270fef7
Change-Id: I89e811ba0d1b715d4fff23c96bc094cd4270fef7
2023-09-22 20:36:38 +08:00
Sudheer Shanka
08710ee575
Merge "Add controls in dev options to quarantine apps." into main
2023-09-21 22:47:30 +00:00