Commit Graph

31993 Commits

Author SHA1 Message Date
Roshan Pius
b236498939 Merge "RestrictedSwitchPreference edit" into main 2024-01-05 21:46:01 +00:00
Joseph Vincent
7c8a83ddbc Merge "Update feature intro text in private space settings page" into main 2024-01-05 12:26:30 +00:00
Weng Su
3eb9757623 Set minHeight of the password field in Shared Hotspot
- Set minHeight to @dimen/min_tap_target_size(48dp)

Fix: 318617636
Test: unit test
make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.dpp

Change-Id: I794862bac82eb37b168263e2e472cba26ba34647
2024-01-05 19:12:15 +08:00
Chaohui Wang
df5c4f69a8 Fix DataUsageSummaryPreferenceController ANR
By off load data loading to background.

Fix: 295260929
Test: manual - on Mobile Settings
Test: unit test
Change-Id: Ib2ef19301b1e97af8a7f3861829779c3b70da4a4
2024-01-05 16:07:28 +08:00
Treehugger Robot
e8d26737a6 Merge "Reset telephony stack during Reset Mobile Network flow" into main 2024-01-05 04:49:29 +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
Treehugger Robot
0756dc37bb Merge "fix(magnification): fix color contrast of the arrow in Settings magnification shortcut dialog" into main 2024-01-04 21:36:38 +00:00
Ante
bae621967e RestrictedSwitchPreference edit
Modify SwitchPreference to RestrictedSwitchPreference in order to show
to correct UWB and NFC state on UWB AE disabled.

Bug: 239714441
Test: TBA
Change-Id: I7a018547d89b644781c682bfdef48efac9b24bf9
2024-01-04 21:32:50 +00:00
Bill Yi
2b2a21e093 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-01-04 18:19:39 +00:00
Roy Chou
81723cc70f fix(magnification): fix color contrast of the arrow in Settings magnification shortcut dialog
Change the arrow drawable tint color to attr/colorAccent to ensure the color contrast.

Bug: 318611481
Flag: NA
Test: manually
Change-Id: Idd719a6714c46b91a7876b22c14dccec214b3b94
2024-01-04 16:18:06 +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
Bill Yi
ecf19e1b4b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I14cadfd029985bc29b520551660099938f2151e6
2024-01-02 14:33:15 -08: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
Chaohui Wang
2ec3840987 Improve AutoSelectPreferenceController
Deprecate ServiceStateStatus (which could produce wrong value),
and replaced with serviceStateFlow.

Fix: 299068234
Test: manual - turn auto select off and on
Test: unit test
Change-Id: I42fe160500c68cc9ee0fe383121f64146ddbb7f2
2023-12-28 16:58:42 +08:00
Varun Somani
d2876dd13c Merge "ARC++ PH: Location UI Changes" into main 2023-12-27 22:41:00 +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
Bill Yi
6c5d56fe64 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-12-27 18:46:44 +00:00
Bill Yi
ccbfb77a03 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-12-27 18:46:44 +00:00
Bill Yi
da78fd0ede Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I80aae354efe89ddafc6fe9c901ef5b35e8d3b02c
2023-12-26 16:25:02 -08:00
Bill Yi
2974a8bbb3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id4a99ed0d563a8ea6bbd76e183be6651253bbce4
2023-12-26 16:22:41 -08: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
Jan Tomljanovic
c4ec19acfa Protect "Lock after timeout" page with an auth challenge.
Test: manual
Bug: 315937886

Change-Id: Ib3da9f783892828c0c9cfdc4ebb27b2d982e5274
2023-12-21 14:45:12 +00: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
josephpv
25ce6462c9 Update strings in PS entrypoint summary and auto advance screen
go/ss/B6UTjGhqwJkwGan.png
go/ss/7vniU5Q5Vz3ZEEx.png

Bug: 311343086, 316839546
Test: Verifed updated strings are shown
Change-Id: I7b1cf54f52c0e4a1480ed95924ee28e05a2fdaf3
2023-12-19 11:01:41 +00:00
Joseph Vincent
65ae0d8219 Merge "Show customized message for private space while choosing lock" into main 2023-12-19 10:37:05 +00:00
shaoweishen
5446813ac5 [PK Setting] Refine layout for Keyboard review
1. add background for keyboard review
2. add text for showing selected keyboard's name

Test: Verified on device
Bug: 305588594
Change-Id: Icf0f2b7798cc5cbddefc1b3a95480b48271b276f
2023-12-19 09:41:17 +00:00
Vincent Wang
40f6264056 Merge "Add talkback feedback when setting passowrd/pin/pattern complete" into main 2023-12-19 02:40:43 +00:00
Varun Somani
45711dccb4 ARC: Show location services setting in ARC-T
Add a new flag that controls location services setting. The current flag
controls location services as well as wifi and bluetooth scanning.
Seperating these flag will help show GLA setting to the user.

UI: go/screen-recording-location-setting-arc-t

Bug: 295397004
Test: atest SettingsRoboTests and manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:37a14be139542f0d6dbc4b75863368279e8053ba)
Merged-In: I3fc377fb118fea031b0ca7dca84f645998486304
Change-Id: I3fc377fb118fea031b0ca7dca84f645998486304
2023-12-18 21:55:24 +00:00
josephpv
223737e0b5 Show customized message for private space while choosing lock
The change adds private profile checks in addition to the exisiting
managed profile check to show customized message while choosing lock for
private profile in Pattern, PIN and Password screens.

Bug: 311343571
Test: Verify lock screen message for private space
Change-Id: Ic8173ff8c1af23fc593390acaff4c67390f99b9c
2023-12-18 19:34:29 +00:00
Anna Bauza
0d64b9831a Merge "Integrating new Avatar Picker App in Settings" into main 2023-12-18 14:18:41 +00:00
Andy Yu
e6e57cffbd Add Settings switch to disable Game default frame rate
This patch adds a new toggle under Developer settings. It defaults
to off, meaning game default frame rate is not disabled. Users
can choose to togge it on to disable game default frame rate.

When a user toggles this switch, it calls to GameManagerService
to update the frame rate of games that are currently in the
foreground and coming games.

screenshots:
https://screenshot.googleplex.com/8jTWyNBhJm7zC4x
https://screenshot.googleplex.com/5junmXtuHnRxyL2

Bug: 286084594
Bug: 306266471
Test: m; flash
Test: atest
SettingsRoboTests:GameDefaultFrameRatePReferenceControllerTest
Change-Id: Ide843f61e57e244d6e1fc30f93b2358b2bcb655b
2023-12-15 13:20:17 -08:00
Joseph Vincent
acce4b46ae Merge "Update footer strings in PS settings page" into main 2023-12-15 21:07:58 +00:00
Treehugger Robot
1f05aa678c Merge "Fix RTL issue on the edit a11y shortcuts screen." into main 2023-12-15 18:50:04 +00:00
Treehugger Robot
024574098c Merge "Change to localization issue to increase character limit" into main 2023-12-15 18:46:49 +00:00
josephpv
2945295737 Update footer strings in PS settings page
Screenshot : go/ss/3txaYsyeRtLj8LJ.png

Bug: 316122890
Test: Manually verified updated strings are shown
Change-Id: I7c4b3ec04ddf95feae9976039fa1aa50bfdfabea
2023-12-15 17:34:43 +00:00