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
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
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
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
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
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
Alice Kuo
55b8e79016
Merge changes from topic "le_audio_allowlist" into main
...
* changes:
Config LE audio connection by default
LE Audio Allowlist toggle behavior refactor
Remove allowlist reboot behavior
Change the LE Audio Allowlist toggle wording
2023-10-14 08:59:51 +00:00
Wa Gao
780a0cb230
Merge "Adds the strings for ODAD content protection setting page." into main
2023-10-12 22:59:16 +00:00
Wa Gao
b73092bfb1
Adds the strings for ODAD content protection setting page.
...
Bug: b/302189945
Change-Id: Idca0fe5b4f49f8fb69e63a3e58a7e8fa85300021
2023-10-12 19:13:17 +00: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
Jun Lan
0e5688a454
Merge "Fix uninstalled app issue on battery usage page" into main
2023-10-12 10:32:40 +00:00
Jun Lan
c617e3c638
Fix uninstalled app issue on battery usage page
...
Context: for uninstalled app, we cannot get the package UID, name and icon from the package manager, and the app would be shown as package name and default system icon in the page. For those unknown apps, we will put them into 'Uninstalled app' component for a quick fix.
Some lines are changed by auto format, and please ignore it. I will send out a follow up cl to format all battery files. It can improve the productivity if all team members are using the auto-format tool during the development.
Before: https://screenshot.googleplex.com/6zmFVgMxHGYMwqH
After: https://screenshot.googleplex.com/3cZwrhcE8zhDyfN
Test: manual
Bug: 264339271
Change-Id: I61a32675a31eefc8fdb1a408fbcebe9a2d6dcd68
2023-10-12 18:18:14 +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
Chaohui Wang
4188a571aa
Use network type enum for APN
...
Instead of hardcoded names and values.
Bug: 303971237
Test: unit test
Change-Id: I099a408df7ee35abc886ed5c1d2d09fd31fda7d3
2023-10-08 14:23:37 +08:00
Charlotte Lu
11737b956e
Telephony.Carriers.BEARER is deprecated.
...
Fix: 303971237
Test: Unit Test
Change-Id: Id3257b279421eb9f3544430667dc8ae536476e5c
2023-10-07 17:52:16 +08:00
Becca Hughes
e768897435
Merge "Update settings dialog to use new string" into main
2023-10-03 15:59:08 +00:00
Zoey Chen
6a3352e7a0
Merge "[ToA] Terms of Address UI, fragment in LocaleListPicker" into main
2023-10-03 07:46:49 +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
Becca Hughes
5b90a14605
Update settings dialog to use new string
...
See bug for more info.
Test: ondevice
Bug: 302770654
Change-Id: Id6084b8f9ff49c346a09822ee30cde0dcac1ebd1
2023-10-02 16:16:22 -07: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
Sudheer Shanka
c0c4bc065d
Mark quarantine related strings as not translatable.
...
Bug: 297934650
Test: n/a
Change-Id: I050aa992a71838124b8cc331792d181e523a96ab
2023-09-29 00:19:20 +00:00
Sudheer Shanka
8af457e732
Merge "Provide SuspendDialogInfo when quarantining an app." into main
2023-09-28 20:20:46 +00:00
Sudheer Shanka
b5441bf782
Provide SuspendDialogInfo when quarantining an app.
...
Customize the dialog to include a button to allow
users to take an app out of the quarantine state.
Bug: 297934650
Test: atest tests/robotests/src/com/android/settings/development/quarantine/QuarantinedAppsScreenControllerTest.java
Change-Id: I1b6e9f057fed91ae131602fd6d6ddf5e23958a65
2023-09-28 14:48:15 +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
Treehugger Robot
e9d57e0176
Merge "Fix the link text in footer" into main
2023-09-28 00:31:11 +00:00
Lifu Tang
91b9f6677f
Fix the link text in footer
...
Bug: 300676250
Test: manual
Change-Id: I186c956c26ffe39decc8f4eaa178522228d00695
2023-09-27 14:11:04 -07:00
Eghosa Ewansiha-Vlachavas
b5bd432272
Merge "Create new user aspect ratio summary strings" into udc-qpr-dev am: 630758f4e0 am: 12f9e22438
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24853822
Change-Id: I0806b98e7b67620b9b57d808f9d8fa5422393599
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-27 08:12:47 +00:00
Eghosa Ewansiha-Vlachavas
630758f4e0
Merge "Create new user aspect ratio summary strings" into udc-qpr-dev
2023-09-27 06:27:07 +00:00
Peiyong Lin
21c967bc96
Merge "Add debug property to safe guard ANGLE developer option UI." into udc-qpr-dev am: e456cb72f9 am: 759a3fda7b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24842231
Change-Id: Iec2e7a51a9b0179fceef6182a1bd9cd2668ddab0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-26 21:34:17 +00:00
Peiyong Lin
e456cb72f9
Merge "Add debug property to safe guard ANGLE developer option UI." into udc-qpr-dev
2023-09-26 19:19:37 +00:00
Eghosa Ewansiha-Vlachavas
734aae86d4
Create new user aspect ratio summary strings
...
Fixes: 301224168
Test: Manual
Change-Id: I91eaa96b30bb37cc46620b763ee2e3217dbc8876
2023-09-26 16:59:34 +00:00
Peiyong Lin
774378530f
Add debug property to safe guard ANGLE developer option UI.
...
Add a debug property to guard ANGLE developer option UI, only when the
debug property is enabled will ANGLE developer option UI be enabled.
Add further clarification in the text to indicate that this is an
experimental feature.
Bug: b/287909344
Test: atest -c GraphicsDriverEnableAngleAsSystemDriverControllerJUnitTest
Test: atest -c GraphicsDriverEnableAngleAsSystemDriverControllerTest
Change-Id: Ife31f4b0426f3ce107f86cfbaf3f1aeca567e250
2023-09-25 18:33:00 +00:00
Chaohui Wang
30b81d637e
Clean up Backup Calling
...
Fix: 289967466
Test: m Settings
Change-Id: Ic487c06383f1dba04b59a54301f083c265717d9b
2023-09-23 22:35:55 +08: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
Chaohui Wang
12a0304950
Clean up unused Call Manager strings
...
Bug: 285231003
Test: m Settings
Change-Id: Iad80b1ad15cc7e770f20cc31deb737673a647673
2023-09-22 15:13:53 +08:00
Sudheer Shanka
08710ee575
Merge "Add controls in dev options to quarantine apps." into main
2023-09-21 22:47:30 +00:00
Chaohui Wang
3cba8ab408
Move spatial_audio_speaker to res-product
...
Bug: 289155281
Test: m Settings
Change-Id: I72582965c18e5ba4850a1dbd3f54421b71ddd9a9
2023-09-19 14:57:18 +08:00
Treehugger Robot
88c1d16d8f
Merge "Update the Spatial audio strings for tablet." into udc-qpr-dev am: 724e3c430d am: d297394f68
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24632576
Change-Id: I8526c0e639b9952741303e8a766aad189ece025d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-19 03:37:30 +00:00
Xinyi Mao
821ed07099
Merge "App anomaly tips on PowerUsage App list" into udc-qpr-dev
2023-09-19 03:10:17 +00:00
Treehugger Robot
724e3c430d
Merge "Update the Spatial audio strings for tablet." into udc-qpr-dev
2023-09-19 01:50:18 +00:00
mxyyiyi
56ba1c09d9
App anomaly tips on PowerUsage App list
...
Screenshots:
[in bg - banner] https://screenshot.googleplex.com/MzLC6LfX93TkkYf
[in bg - hints] https://screenshot.googleplex.com/9JLXNsRiVG8arAU
[in fg - banner] https://screenshot.googleplex.com/9oYbwUkeeLbQX2t
[in fg - hints] https://screenshot.googleplex.com/53DTTUCUnf8rsoE
[apps anomaly highlight hint + settings anomaly banner]
https://screenshot.googleplex.com/8NdS2VMrSzwv2DM
Bug: 291689643
Bug: 291689623
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bfd0f5859b6e5ffef4727ee562009f2050de7a58 )
Change-Id: Ic02db49cb3794ef134759d9dcec5f5ef32454a95
2023-09-18 10:41:27 +00:00
mxyyiyi
e9378d27f7
App anomaly tips on PowerUsage App list
...
Screenshots:
[in bg - banner] https://screenshot.googleplex.com/MzLC6LfX93TkkYf
[in bg - hints] https://screenshot.googleplex.com/9JLXNsRiVG8arAU
[in fg - banner] https://screenshot.googleplex.com/9oYbwUkeeLbQX2t
[in fg - hints] https://screenshot.googleplex.com/53DTTUCUnf8rsoE
[apps anomaly highlight hint + settings anomaly banner]
https://screenshot.googleplex.com/8NdS2VMrSzwv2DM
Bug: 291689643
Bug: 291689623
Bug: 284893240
Test: manual
Change-Id: Ic02db49cb3794ef134759d9dcec5f5ef32454a95
Merged-In: Ic02db49cb3794ef134759d9dcec5f5ef32454a95
Merged-In: I7015cdf5a96d518febb160934d780ae84fe14427
2023-09-18 18:28:20 +08:00
Sudheer Shanka
abbb5c4dc3
Add controls in dev options to quarantine apps.
...
Bug: 297934650
Test: m -j RunSettingsRoboTests
Test: atest SettingsUnitTests
Change-Id: Ic0f35b370c04dd4ed3baaf3610b46ff1b37a0463
2023-09-18 07:27:37 +00:00