Commit Graph

137876 Commits

Author SHA1 Message Date
Edgar Wang
d0fcba932c Fix time zone settings restriction logic
- Time zone should be restricted when "no_config_date_time" enabled

Bug: 316584466
Change-Id: I90dfc2c84ef0b2155740c7b890f17376c9e57e51
Test: manual via TestDPC
2024-01-11 11:18:52 +00:00
Shaowei Shen
59d67c3dc2 Merge "[Physical Keyboard Setting] Add log and null check" into main 2024-01-11 06:17:39 +00:00
Wilson Wu
e13209fbaa Merge "Add metrics for keyboard vibration settings" into main 2024-01-11 05:53:38 +00:00
shaoweishen
ff74d9db0b [Physical Keyboard Setting] Add log and null check
update getParcelable api usage, add null check and logging.

Bug: 317416208
Test: Verified on device
Change-Id: I125a6c9cdb5c86be7582ad5102257efb1fa6a1a4
2024-01-11 03:48:07 +00:00
Wilson Wu
55a7023af5 Add metrics for keyboard vibration settings
Log the state when keyboard vibration settings changed.

Bug: 289107579
Test: atest KeyboardVibrationTogglePreferenceControllerTest
Change-Id: I96999fe49a86514561c85c5b589a7b90e3c3cb67
2024-01-11 03:36:03 +00:00
Fan Wu
2a1051cbab Merge "Update custom shadow usage of ShadowActivityManager" into main 2024-01-11 02:59:31 +00:00
Daniel Norman
889de5bd4a Merge "Adapt clickShortcutSettingsPreference* test to shortcut edit activity." into main 2024-01-11 02:10:06 +00:00
Fan Wu
1ce7938afc Update custom shadow usage of ShadowActivityManager
Test: atest SettingsRoboTests

Bug: 319052511
Change-Id: I15ee6a19d039808aab5089e309a872cf6bc818bc
2024-01-11 09:45:41 +08:00
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
Zhen Zhang
306df3beaa Merge "Rename method name" into main 2024-01-10 13:16:22 +00:00
Yiyi Shen
180a686af0 Merge "[Audiosharing] Skip active device switch" into main 2024-01-10 12:11:38 +00:00
Yuanru Qian
6abf22553f Merge "Switch some debug level logging to regular logging in the bluetooth settings for the ease of issue triage." into main 2024-01-10 12:03:57 +00:00
Yiyi Shen
9f60c22fad [Audiosharing] Skip active device switch
For framework investigation on the handover issue.

Test: manual
Bug: 305620450
Change-Id: I84f87feac4b72f54eaa1f59ff5524b887bfd00f1
2024-01-10 19:22:11 +08:00
Yiyi Shen
a60dc6ca5a Merge "Increase code coverage." into main 2024-01-10 11:13:30 +00:00
Sunny Shao
bee65b4109 Merge "Revert^2 "Nullability Annotations replacement"" into main 2024-01-10 08:35:06 +00:00
Sunny Shao
076ed573eb Revert^2 "Nullability Annotations replacement"
This reverts commit 19d1d3d15d.

Reason for revert: revert it because this is not the root cause.

bug: 316867690
Change-Id: I0f168dbb64044aa720202af7b1040afd4f028c9c
2024-01-10 07:34:01 +00:00
Yuanru Qian
0b91cdfbaa Switch some debug level logging to regular logging in the bluetooth settings for the ease of issue triage.
Change-Id: I9b73d24eb22613f6401c31352efc516f527b30d9
Bug: N/A
2024-01-10 06:23:58 +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
Yiyi Shen
0ae19606eb Increase code coverage.
Test: atest
Bug: 296507968
Change-Id: I031cc4b4f762bb574623da9485bb1981d9c912ea
2024-01-10 12:05:27 +08:00
Omer Ozer
c1c500ae67 Merge "Add logic to redirect default payment setting to default wallet selector." into main 2024-01-10 01:19:01 +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
Omer Ozer
ea4ca29090 Add logic to redirect default payment setting
to default wallet selector.

Bug: 283989236
Bug: 313968146
Test: Manual
Change-Id: I984497baa1689d1b31eedd6a4f9ab453b10dd93c
2024-01-09 18:00:05 +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