Commit Graph

137855 Commits

Author SHA1 Message Date
Daniel Norman
6fd5a4c84d Adapt clickShortcutSettingsPreference* test to shortcut edit activity.
This failure appeared when rolling out flag
cleanup_accessibility_warning_dialog. This test used to always launch
the editor dialog, but that logic has changed with the rollout of
another feature to replace the dialog with an activity launch.

Bug: 319497827
Test: ToggleAccessibilityServicePreferenceFragmentTest
Change-Id: Ie4e3ae5eff8ed16cded622ce71bbd3a6a55cdedb
2024-01-10 23:50:06 +00:00
Eric Biggers
6482c08de3 Merge "Use isCeStorageUnlocked() in ConfirmDeviceCredentialActivity" into main 2024-01-09 20:01:38 +00:00
Eric Biggers
45f71ab1ce Use isCeStorageUnlocked() in ConfirmDeviceCredentialActivity
isUserKeyUnlocked() is being renamed to isCeStorageUnlocked() to make it
clear what it does (considering that there are many types of user keys).
Temporarily, the method exists under both names.  Change
ConfirmDeviceCredentialActivity to use the new name.  No change in
behavior.

Bug: 306204742
Flag: exempt, mechanical refactoring
Test: presubmit
Change-Id: I9a3f686b57cfbf99b6c915565e5ecc38ddfe9b22
2024-01-09 18:12:41 +00:00
Jigar Thakkar
d4d9c4fe59 Merge "Disable strong auth for all profiles after successful unlock" into main 2024-01-09 16:49:31 +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
Treehugger Robot
2a5dda45a1 Merge "Add a linter requiring Nullability Annotations" into main 2024-01-09 03:47:06 +00:00
Milton Wu
ea31df38e6 Merge "Refine udfps enrolling icon" into main 2024-01-09 02:10:37 +00:00
Fan Wu
3809fb6f4b Merge "Update Usage statistics string to avoid confusion" into main 2024-01-09 01:34:26 +00:00
Treehugger Robot
a5e48292a7 Merge "Implemented nested scrolling parent in TextReadingPreviewPager" into main 2024-01-09 01:16:08 +00:00
Raphael Kim
901a3bf4b6 Merge "Update test with new AssociationInfo constructor." into main 2024-01-08 22:17:12 +00:00
Chun-Ku Lin
ed3d2f9171 Implemented nested scrolling parent in TextReadingPreviewPager
Flag: N/A
Bug: 317947238
Test: manual

Change-Id: I173881b84d5c5ff81c15a80a4de65fda59f5bf65
2024-01-08 22:07:56 +00:00
Chris Antol
777572ba3c Merge "Fix broken PK setting page" into main 2024-01-08 19:32:46 +00:00
Julia Reynolds
881ce2ced0 Merge "Remove unneeded code" into main 2024-01-08 17:36:09 +00:00
Iavor-Valentin Iftime
86a377dc11 Merge "Move vibrate while unlocked behind a flag" into main 2024-01-08 16:45:16 +00:00
Vaibhav Devmurari
0336216f20 Fix broken PK setting page
Culprit CL: ag/24940191, the InputDeviceIdentifier wasn't properly passed onto the Profile specific instances of PK settings fragment.

Bug: 317416208
Test: manual
Change-Id: I8431cc6c220cc313ea7a7b1931d2a5a88fa46797
2024-01-08 14:33:34 +00:00
Chaohui Wang
fe770d38f8 Merge "mmsc can be """ into main 2024-01-08 10:57:00 +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
Charlotte Lu
761785d02e Merge "Add WEPNetworksPreferenceController." into main 2024-01-08 09:57:43 +00:00
Charlotte Lu
d442ac8db1 mmsc can be ""
Test: Visual Test
Fix: 319063785
Change-Id: I8909412b1debee06fa461de9e9230a991bc046e1
2024-01-08 09:43:34 +00:00
Charlotte Lu
8ef68fb1fc Add WEPNetworksPreferenceController.
Test: Visual Test
Fix: 317453032
Change-Id: Ifce83ffa32eeb0d1245b7c5e61c3cad3f85fa14e
2024-01-08 16:45:42 +08:00
Zaiyue Xue
d6cc80362c Refactor code according to comments in ag/25767430.
Bug: 318308397
Test: presubmit
Change-Id: Idc42d340508d2c41173ca157aabc452b6b0f6036
2024-01-08 15:12:40 +08:00
Weng Su
dea44ebf7b Merge "Set minHeight of the password field in Shared Hotspot" into main 2024-01-08 05:56:25 +00:00
Chaohui Wang
601fe12ea9 Merge "Show "0 B used" when no data usage this cycle" into main 2024-01-08 05:39:47 +00:00
Joonhun Shin
43d6a231e0 Merge "Data only device(without FEATURE_TELEPHON_CALLING) : Add try/catch to handle UnsupportedOperationException" into main 2024-01-08 02:06:46 +00:00
Chaohui Wang
f28d119560 Show "0 B used" when no data usage this cycle
When the latest cycle has no data usage, currently it shows all time
usage without cycle info, which could confuse user.

Change to "0 B used used xxx - xxx" to fix this issue.

Fix: 292346951
Test: manual - on Mobile Settings
Test: unit tests
Change-Id: Ic06fd63a3bc049d70538d0a3cd1fa3d62dbd71d7
2024-01-06 19:05:47 +08:00
Roshan Pius
b236498939 Merge "RestrictedSwitchPreference edit" into main 2024-01-05 21:46:01 +00:00
Jigar Thakkar
3adb65b84d Disable strong auth for all profiles after successful unlock
The change generalizes the workflow to disable strong auth requirements
for all profiles that require authentication to disable quiet mode,
once a successful unlock has happened through CDCA.
Currently, the call to disable the strong auth requirements is only
being done for work-profile.

Test: Tested locally on device with private space setup with a separate
challenge and tested the strong auth tracker values post this change.
Bug: 312184187

Change-Id: Ib41c51d1df78eea9415d72724b8cc693344e2c26
2024-01-05 15:06:15 +00:00
Piotr Wilczyński
c7de74ac4b Merge "Don't back up Smooth Display if feature flag off" into main 2024-01-05 12:48:32 +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
Chaohui Wang
d4fd8c0c2f Merge "Fix DataUsageSummaryPreferenceController ANR" into main 2024-01-05 12:08:24 +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
SongFerng Wang
9abd03fb70 Using ACTION_SIM_CARD_STATE_CHANGED to detect simSlotMapping is complete am: e51d8515c0 am: 8663deec9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25809891

Change-Id: I5682b192185063a208357c92226659d0cfa29e25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 07:53:53 +00:00
SongFerng Wang
8663deec9b Using ACTION_SIM_CARD_STATE_CHANGED to detect simSlotMapping is complete am: e51d8515c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25809891

Change-Id: I0bed6503fbce6204b2da75f6dc25364148f1ce8b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 07:23:19 +00:00
MiltonWu
2703909793 Refine udfps enrolling icon
Refine fingerprint enrolling icon show/hide logic

Test: Manually test udfps enrolling flow
Bug: 313801674
Flag: NA
Change-Id: I8d10a2048d74efa8b0a5bf025dd81df0a9041274
2024-01-05 06:33:11 +00: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
SongFerng Wang
e51d8515c0 Using ACTION_SIM_CARD_STATE_CHANGED to detect simSlotMapping is complete
Sometime modem can't return the GET_SIM_STATUS immediately, so that the settings send the sim switching too early after simSlotMapping.

Bug: 291733084
Change-Id: If547c8b02020bc86c83915334e29945176a4ee9f
Test: tester will test it manually.
(cherry picked from commit ba2a86ad9f)
2024-01-05 03:38:30 +00:00
joonhunshin
37d4fb736e Data only device(without FEATURE_TELEPHON_CALLING) : Add try/catch to handle UnsupportedOperationException
If the device does not have Telephony feature calling, the some of interfaces in TelephonyManager throw UnsupportedOperationException.

Bug: 297989574
Test: oriole with ATT SIM, boot completed
      APM/data/wifi on/off, browse setting menu
Change-Id: Ifa9092cd8d9a00039e9d93d5fd9fc4dabed633c8
2024-01-05 03:04:14 +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
6384d974cf Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-01-04 18:19:39 +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
Chaohui Wang
39b23b760c Merge "Migrate NetworkOperatorPreference to Kotlin" into main 2024-01-04 09:00:05 +00:00
David Liu
38ce956b72 Merge "Fixed logging ACTION_SETTINGS_DISABLE_APP with package name" into main 2024-01-04 08:11:02 +00:00
Chaohui Wang
7cbfc40681 Migrate NetworkOperatorPreference to Kotlin
Bug: 293845605
Test: manual - with SIM Settings
Test: unit test
Change-Id: I5c21085a4ec9c2f53f93867813ba298690f161ff
2024-01-04 13:02:31 +08:00
Milton Wu
4f06db7bf8 Merge "Fix calibrator missing during suw page switch" into main 2024-01-04 04:51:56 +00:00