Commit Graph

12468 Commits

Author SHA1 Message Date
pajacechen
98a522c45c Delete DockDefenderTip and Detector
- remove dock defender
- remove unused string

Test: atest SettingsRoboTests
Bug: 315748218
Flag: NA
Change-Id: Ida4bb1d36a653d1787595212aac167d2f4dd3438
2024-01-23 15:26:53 +08:00
Charlotte Lu
1eb4bc0c5f Merge "Duplicate apn entry" into main 2024-01-18 04:00:58 +00:00
josephpv
4d6e11ce4b Show private space unlocked toast when PS is unlocked from Settings
This contains the change to show private space unlocked toast message
when PS is unlocked from private space settings entry point.
Also has change in the pending intent passed to requestQuietModeEnabled
API to allow BAL of PS settings page as suggested in go/debug-bal

Recording is uploaded to the issue b/317313482

Bug: 317313482
Test: Manually verified Toast is shown on PS unlock from settings

Change-Id: I2f03b7decdad2bb9e1018012ff5986e48305a4e7
2024-01-17 10:26:33 +00:00
Joseph Vincent
bd3e3a174f Merge "In Private space settings when no face support show only fingerprint unlock" into main 2024-01-17 10:02:05 +00:00
Charlotte Lu
031aa3417d Duplicate apn entry
Test: Visual Test
Fix: 319194851
Change-Id: I491655bb80a17cc9fc99d47f1e1ac5824eb11921
2024-01-17 15:58:24 +08:00
fayey
a0f67e8591 Add the second toggle for the egress data permission on voice activation
apps toggle page.

Bug: 309677007
Test: presubmit
Change-Id: I219f67bd55d3a38b6e026698ce4cbf24c6fbe503
2024-01-17 07:17:47 +00:00
Wu Ahan
a3e5036311 Merge "Add SfpsRestToUnlockFeature to FingerprintFeatureProvider" into main 2024-01-17 02:30:11 +00:00
Becca Hughes
2417c84a77 Update strings for new settings design
This updates the strings for the new settings
design as per the new spec.

Screenshots:
https://hsv.googleplex.com/5257279109595136
https://hsv.googleplex.com/5049022822744064
https://hsv.googleplex.com/6177842804031488

Change-Id: I6ff705d2bfab9de4ca2e8d49763b5405e3d2d2c3
Test: Manual test
Bug: 300979487
2024-01-16 18:13:32 +00:00
Wu Ahan
a9913cb74c Add SfpsRestToUnlockFeature to FingerprintFeatureProvider
Bug: 296179618
Test: manually
Test: SettingsUnitTests
Change-Id: I452610e2c2b36f56dc4ade1cea1a15fdc088211f
2024-01-16 02:15:33 +00:00
Hyunho Shin
4130a95c5d Merge "Add the condtions to show the pSIM conversion menu" into main 2024-01-15 05:12:40 +00:00
Hyunho
3d2c417236 Add the condtions to show the pSIM conversion menu
if the value of carrier config and current SIM's carrier is matched, then the pSIM conversion menu will show

Bug: b/319527964
Test: manual test (b/319527964#comment3)
Change-Id: I82025447f43c0151ba58edd77c6f8b7e8aff660d
2024-01-13 03:48:07 +00:00
Pawan Wagh
7516944287 Show progress bar till the applyPayload returns am: 9be05afc88 am: 0aebae8d79 am: 7dcfe67cae
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2766345

Change-Id: I4433a73f30d21629558b18716e7972acc4e46d5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:33:55 +00:00
Pawan Wagh
8a1cebc72a Call update engine to apply payload am: 008842edeb am: d2110a76a7 am: ba35fbc238
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2756951

Change-Id: I4efedc488fdf5f73ead41781ebf3d4eb33f0b78b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:33:49 +00:00
Pawan Wagh
7e2249a7dd Developer option for booting with 16K pages am: 8996ca9768 am: acd2de2533 am: 8e5eff37a9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2705817

Change-Id: Icaca8a91a01be73cdda9d61e2a2fbb6c82534a47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:33:41 +00:00
josephpv
099ae32943 Add auto lock preference inside private space settings
This includes below changes
- Adds perference for Auto Lock settings inside private space settings page.
- Feaure is behind flag
android.multiuser.support_autolock_for_private_space

Screenshots:
go/ss/ZCaYGWMDdH8bQNz.png
go/ss/AxnD8DviiT5hhkW.png
go/ss/9TMYmacyiVhyexB.png
go/ss/6SzhkGfTbDYVUVE.png

Bug: 312893140
Test: atest AutoLockPreferenceControllerTest, atest AutoLockPreferenceControllerTest

Change-Id: I95beb9d71c709002e17307e612c60b2f5087290b
2024-01-12 19:12:30 +00:00
josephpv
1741f5355a In Private space settings when no face support show only fingerprint unlock
This contains fix for PS biometrics issue in Pixel devices without
face hardware support.

In private space separate lock settings page
- without face support only fingerprint unlock controller is shown
- with face support controller for both face and fingerprint is shown.

Screenshot:
-Without Face support
go/ss/qhDqdyqYLCTYaJq.png
go/ss/4Jw54XKJPNYm4R6.png
go/ss/5LPjRQ76cVPZy7j.png

-if without Fingerprint
go/ss/ACGqKU7j24G3Q9Q.png

-With Face support
go/ss/7jV385WCFsXajZM.png
go/ss/ZrGTdiYUN5MFY3r.png
go/ss/6QNKqaFuZvuMJZ9.png
go/ss/9ZcSvXULHuPK2ps.png
go/ss/7GfABcYE4h8BkCo.png

Bug: 319794904
Test: Manual
Change-Id: I053e8584d036ca0d6e3d8157d0fdef6d465492aa
2024-01-12 19:10:46 +00:00
Pawan Wagh
9be05afc88 Show progress bar till the applyPayload returns
Displaying a progress bar till the applyPayload from update_engine
returns.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Bug: 298214075
Change-Id: Ic8cf4df700505e7f10185ee0f08225411c6621e5
2024-01-12 17:14:03 +00:00
Pawan Wagh
008842edeb Call update engine to apply payload
Calling update engine to apply payload provided from boot_otas and
reboot on success. Updating different dialogues for 4k prompt.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Test: make RunSettingsRoboTests ROBOTEST_FILTER=Enable16kPagesPreferenceControllerTest
Bug: 295573133
Change-Id: Iab90a2c2fae5f6aefce95b2306db91c7b056d9f7
2024-01-12 17:13:31 +00:00
Pawan Wagh
8996ca9768 Developer option for booting with 16K pages
Adding developer option to boot with 16K compatible kernel. Adding
resources, layouts and dialog classes for 16k option. This needs
to integrated with update engine to make OTA switch happen.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Bug: 294614538
Change-Id: I3a24fed059eee99407e3486a7254285e0e4a251c
2024-01-12 16:51:16 +00:00
Nikhil Kumar
87f5264823 Merge "Toast warning message when non-admin user tries to open dev options." into main 2024-01-12 10:43:32 +00:00
Mark Kim
f47bc45a3b Merge "Show restoring toast message only after Play Store responded successfully" into main 2024-01-12 09:00:46 +00:00
Mark Kim
043c06fabd Show restoring toast message only after Play Store responded
successfully

Test: n/a

Bug: 317130255
Change-Id: I4250689f761c86655861c0d04cd1d67e4407c5e3
2024-01-12 05:36:05 +00:00
SongFerngWang
0a7fb7fec3 Add the String of dual sim onboarding
Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: Build pass
Change-Id: I0096c4238b3aab199b553775ae4812240b4bde87
2024-01-12 13:18:31 +08:00
Nikhil Kumar
1a115d3ea0 Toast warning message when non-admin user tries to open dev options.
Developer Settings are only accessible for the Admin users. Added a new toast warning message to be displayed when a non-admin user tries to open the Developer options.

Bug: 259941142
Test: Manually verfied by tapping on the USB debugging option from a Secondary user.
Change-Id: Ibd1b8e19d9130982982ee13ac98cbc1d8f5b8835
2024-01-11 16:27:07 +00:00
Hyunho
b6a6b1e91a Add the config to show the pSIM conversion menu and set it to false
Bug: b/314881248
Test: manual done
Change-Id: I258471182cb9092fade50881f52f7299c10c8da2
2024-01-10 06:00:12 +00:00
Xinyi Mao
d92f82b437 Merge "Update accessibility content description for battery usage chart view." into main 2024-01-09 04:00:23 +00:00
Fan Wu
2370adbbce Update Usage statistics string to avoid confusion
Bug: 314134835

Test: manually by typing *#*#4636#*#* on phone
Change-Id: Idac3f58f8c21ff5ecf6a1b7e9d686d770e2e09ba
2024-01-08 18:30:15 +08:00
mxyyiyi
b20f910cd1 Update accessibility content description for battery usage chart view.
- Add battery level percentage description.

Bug: 317000579
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge.batteryusage.*"
Change-Id: I03c8a97c521997170cbd72b7e0fcc88f7eb97221
2024-01-08 18:30:01 +08:00
Joseph Vincent
7c8a83ddbc Merge "Update feature intro text in private space settings page" into main 2024-01-05 12:26:30 +00:00
Rambo Wang
4c384506d5 Reset telephony stack during Reset Mobile Network flow
This CL introduces two more steps to restart Phone process and RILD
during the Reset mobile network flow by the help of the
TelephonyContentProvider which has been used by Pixel Adaptive
Connectivity Services ("SCONE") for a while.

The additional reset options can resolve issues like resources leak
and internal state stuck, effectively recover telephony stack into
fresh state.

The reset options are performed in the background and have no impact
on UX of the reset flow.

Bug: 271921464
Test: ResetNetworkOperationBuilderTest
Test: Feature test with both flag on and off
Change-Id: If09d20d79e908dd43f3f654fb7cca7f713b7f03a
2024-01-05 03:53:21 +00:00
josephpv
4d86ad660d Update feature intro text in private space settings page
Screenshot - go/ss/6vPN59B6bkp7asp.png

Bug: 313881020
Test: Manual
Change-Id: Iee63f31d297d7f56b313a694cbf293ec858ca86d
2024-01-04 15:43:32 +00:00
Andy Yu
0612c9b103 Merge "Update game default frame description char limit" into main 2024-01-03 19:17:42 +00:00
Andy Yu
6f19be8630 Update game default frame description char limit
To accomodate the highest number of characters for the localication
request, updating the limit to 65.

Bug: 306266471
Test: m; flash; boot;
Change-Id: Ie3f6fd420ae3466b62da0d830a477039351a57f8
2024-01-03 10:34:54 -08:00
Julia Reynolds
e6c3d18648 Update content description
Test: manual: use TalkBack on conversations screen
Fixes: 317316662
Change-Id: I7c9b0746bf610168e8a3c2bc0d2932082da221a8
2024-01-03 15:00:20 +00:00
Kevin Jeon
89ea9597ea Merge "Increase character limit on PSS toggle translation" into main 2024-01-03 14:37:55 +00:00
Beverly Tai
b996d0a4ea Merge "Add new folding grace period settings strings" into main 2024-01-03 13:48:42 +00:00
Kevin Jeon
2f9787a0c0 Increase character limit on PSS toggle translation
This change increase the character limit on the toggle for
enabling/disabling memory usage profiling. This toggle is gated behind
developer settings and changes some device behaviors; a higher
character limit will allow for more accurate translations.

Test: N/A
Bug: 296454553
Change-Id: I129a22a4c2ebd10f09b3d3a695fdf669da00fe33
2023-12-29 16:01:48 -05:00
Vaibhav Devmurari
315f2546fc Add A11Y settings for Bounce keys and Sticky keys
Test: manual
Bug: 294546335
Change-Id: I943300c31d0c8e142f64f084f4c65e05249a72ec
2023-12-28 21:02:11 +00:00
Beverly
20e48424d9 Add new folding grace period settings strings
Bug: 315219497
Flag: ACONFIG com.android.internal.foldables.flags.fold_grace_period_enabled DEVELOPMENT
Test: manually enable and see new strings (adb root && adb shell setprop
persist.fold_grace_period_enabled true && adb reboot)

Change-Id: Ie278b45e3928e1154f78066e71551fb5cac8a176
2023-12-28 17:24:58 +00:00
Varun Somani
e69e72b1e4 ARC++ PH: Location UI Changes
UI changes for privacy hub to disable location settings if setting is
managed by Chrome and feature is turned on.

Bug: 265471993
Test: Manual

Change-Id: I55ba35493d27a8a545765c5602a76dc124c24d98
(cherry picked from commit 1795f20cc54528a11fd0f2f72a9f782c64245eb0)
2023-12-27 19:37:51 +00:00
Varun Somani
a579912892 Merge changes from topic "cherrypicker-L33700000962584268:N96700001396822390" into main
* changes:
  ARC: Follow-up fix AndroidLint error
  ARC: Show location services setting in ARC-T
2023-12-26 20:26:40 +00:00
Kevin Jeon
dc8508293e Merge "Hide Memory usage UI fields if flag is enabled" into main 2023-12-22 17:39:09 +00:00
Kevin Jeon
55c8c9b86c Hide Memory usage UI fields if flag is enabled
This change updates the Memory use UI in developer settings to hide
memory fields by default if the AppProfiler PSS deprecation flag is
enabled. A toggle is provided to resume PSS profiling and reinstate the
memory fields, and shows a dialog to reboot if the toggle is updated.

The summary for the "Memory" button in developer settings will show
"Memory profiling disabled" instead of "Avg X GB of Y memory used" if
PSS profiling is not enabled.

Test: With the flag enabled, flash and verify that:
      - The memory fields are hidden by default, and the summary shows
	the expected "Memory profiling disabled" text
      - Clicking the toggle shows the reboot dialog, which will
	correctly change the setting and reboot if accepted, and keep
	the setting and not reboot if denied
      - Check that AppProfiler correctly profiles PSS or RSS based on
	the state of the toggle, which persists across reboots
      - Included UI test for Memory page elements based on flag value.
Bug: 296454553
Change-Id: Ie21791502445a321446cb8110e5800089f47ac58
2023-12-22 01:15:04 -05:00
Charlotte Lu
5d58d4afaf Add WEP network strings.
Test: Visual Test
Fix: 317310222
Change-Id: I7ac6db481ba19af20d2004e2d333e391f0648738
2023-12-22 13:22:53 +08:00
Andy Yu
fd6e4f8a9a Merge "Add Settings switch to disable Game default frame rate" into main 2023-12-20 21:59:42 +00:00
Beth Thibodeau
7368747e31 Merge "Update media recommendation setting string" into main 2023-12-20 16:27:58 +00:00
Beth Thibodeau
f81d6d7240 Update media recommendation setting string
Test: build
Bug: 317067644
Change-Id: I908a8681b52f7da7c61936b8410b3a29fe13ad83
2023-12-19 14:26:20 -06:00
josephpv
0b7d46746c Add Biometrics settings inside private space One Lock settings
This includes below changes:
- Add Biometrics preferernce in Private Space One Lock settings page
- Face and Fingerprint enrolment for Private profile
- Feature is behind flag android.multiuser.enable_biometrics_to_unlock_private_space

Screenshots:
go/ss/9cWZRAuvGGW7gMm.png
go/ss/B3NoFbL3KbpSzeN.png
go/ss/7xH3DLi9d6Lu2mR.png
go/ss/8WBEgKychWpduXg.png
go/ss/8pmPGshd9aiPvVC.png
go/ss/AFPBPbiaBBvTj3p.png
go/ss/3fE4XKLLUdP8LmF.png

Bug: 308862923
Test: atest CombinedBiometricStatusUtilsTest, atest FaceFingerprintUnlockControllerTest
Change-Id: I1853107a4df4fc97db53c97524c6d44a4f554e37
2023-12-19 18:57:10 +00:00
Shaowei Shen
d564f0b6de Merge "[PK Setting] Refine layout for Keyboard review" into main 2023-12-19 15:59:01 +00:00
Joseph Vincent
61fa50254e Merge "Update strings in PS entrypoint summary and auto advance screen" into main 2023-12-19 12:52:35 +00:00