Commit Graph

140296 Commits

Author SHA1 Message Date
pajacechen
e5d99fa93d Fix "Free up space" not clickable issue
- Adding CardPreference.java back for "Free up space" item
- Rename CardPreference.kt to TipCardPreference.kt

Bug: 333016642
Test: http://ab/I85800010265092964
Change-Id: I36062703b7ab5c21083459616234e3a86500719b
2024-04-15 19:45:17 +08:00
josephpv
83f73732de Set SKIP_FIRST_USE_HINTS setting for private space
With this change the value of Secure settings SKIP_FIRST_USE_HINTS is
set for private profile after creation of profile in PS setup flow.

The value is set for the profile user so that first launch of an app in
private space will not display introductory hints.

Bug: 325596557
Test: PrivateSpaceMaintainerTest
Change-Id: I63a967bba052a3dcb4742c95b89c6da19aba74d5
2024-04-15 10:47:42 +00:00
Sunny Shao
b839b6f81a Fix the date format alignment problem
- The date format is different between "Android security update"
  and "Google Play system update" for locale TH.
- Use the same getBestDateTimePattern API to align the format.

Fixes: 331897617
Test: atest MainlineModuleVersionPreferenceControllerTest
Change-Id: I346749594b05703b601d0d84fd7659fd3c2fa85a
2024-04-15 10:46:01 +00:00
Jakub Rotkiewicz
14ea291d2a Bluetooth Codec Settings: Assure flag enabled
Assure flag a2dpOffloadCodecExtensibilitySettings is enabled before
calling BluetoothA2dp API.

Bug: 331612641
Tag: #feature
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.AbstractBluetoothListPreferenceController
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.BluetoothCodecListPreferenceControllerTest
Change-Id: Iac33a6c95a544230e034807b320c80a727ade307
2024-04-15 10:43:23 +00:00
sunnyshao
3f450dde28 Fix talkback announce incorrect sound of the EID
-- Use zero width space.

Bug: 319049336
Test: manual test
Change-Id: I93dd43ccf79727b8de7bba957431b77956f9b839
2024-04-15 10:23:21 +00:00
Zaiyue Xue
1ee693f0ed Support tips card directly changing settings [step-5]
Support clicking tips card directly changing settings.

Bug: 333989261
Test: manual
Change-Id: Idc485ee7430edff7f6d7265caf8d9d5cf97548b6
2024-04-15 17:39:43 +08:00
YK Hung
be60d166eb Merge "Fix failed test in BatteryTipsCardPreferenceTest." into main 2024-04-15 09:01:18 +00:00
mxyyiyi
4fe887e908 Fix failed test in BatteryTipsCardPreferenceTest.
Fix: 313582999
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage.BatteryTipsCardPreferenceTest
Change-Id: I31e4073332872df521cbc6811dae5e4b067e6ffa
2024-04-15 16:19:00 +08:00
Zaiyue Xue
c1b0e54ed5 Merge "Support tips card directly changing settings [step-4]" into main 2024-04-15 08:04:45 +00:00
Roy Chou
acf98a6a4a feat(onefingerpan): hide the one finger pan settings when window mode only
Like MagnificationAlwaysOn toggle behavior, when the magnification
capability is window-mode only we'll hide the OneFingerPan toggle too.

Also do a small refactoring in MagnificationOneFingerPanningPreferenceControllerTest

Bug: 333821725
Flag: ACONFIG com.android.server.accessibility.enable_magnification_one_finger_panning_gesture TEAMFOOD
Test: manually
      atest MagnificationOneFingerPanningPreferenceControllerTest
      atest ToggleScreenMagnificationPreferenceFragmentTest
Change-Id: I8684b5bae5cbfc5b75fc4c14d2e9173b17d0fb02
2024-04-15 07:16:57 +00:00
Haijie Hong
82e71b7278 Merge "Exit bluetooth device details page when bluetooth is off" into main 2024-04-15 06:55:39 +00:00
Haijie Hong
1ab367d3a0 Exit bluetooth device details page when bluetooth is off
Bug: 333836213
Test: atest BluetoothDeviceDetailsFragmentTest
Change-Id: I4632c10a8f6f828885825e1ee46df6537a0c050c
2024-04-15 13:29:42 +08:00
Zaiyue Xue
cf292a025d Support tips card directly changing settings [step-4]
Add the settings name and settings value to gerrit proto.

Bug: 333989261
Test: presubmit
Change-Id: I169b615bb8a637614dd5b5c3eed52b4862d2e13f
2024-04-15 12:59:42 +08:00
Tom Hsu
758e69592c Merge "Revert "Fixs user input nothing, but save it successfully"" into main 2024-04-15 02:13:55 +00:00
Tom Hsu
880b8c6dbf Revert "Fixs user input nothing, but save it successfully"
This reverts commit 6f27b8bca7.

Reason for revert: wrong logic

Change-Id: Ic2eaaa5dd318a2eb92da1a3615590e7d132641a7
2024-04-15 01:50:12 +00:00
Diya Bera
d8ad8e17b0 Update constants
Flag: N/A
Test: N/A
Bug: 289548794
Change-Id: Ifcc0592583697efb105167b6c168c40a3299dc54
2024-04-13 16:09:28 -07:00
Chun-Ku Lin
e24b145d48 Merge "[Flag cleanup] remove separate_accessibility_vibration_settings_fragments" into main 2024-04-12 18:10:11 +00:00
Manish Singh
341595b792 Merge "Fix location services for all profiles" into main 2024-04-12 18:00:17 +00:00
Joseph Vincent
1759f174fb Merge "Update string and button choice in PS lock setup screen" into main 2024-04-12 16:33:05 +00:00
Julia Reynolds
09d2a91001 Update string
"categories" is the name in the UI, not "channels"

Test: manual, view menu
Bug: 322536537
Change-Id: I6d5c08bb6d13f34e9d3bf6ae5d2dbc87d62b7965
2024-04-12 12:24:58 -04:00
Joseph Vincent
4868dbe243 Merge "Handle startProfile failure during creation of private space" into main 2024-04-12 15:37:47 +00:00
David Liu
27fe3c32ef Merge "Support top level Notifications for the search." into main 2024-04-12 15:29:24 +00:00
Joseph Vincent
e926e87c4b Merge "Add mocks for LockPatternUtils.isSecure() method in setup" into main 2024-04-12 15:21:05 +00:00
josephpv
d562080b75 Update string and button choice in PS lock setup screen
Screenshot : go/ss/93jhuNKsPPzDvzy.png
Recording link : b/334013507#comment5

Bug: 334013507
Test: Manual
Change-Id: I03e1e5297c69f1d5154a45481f54d4207f454bd4
2024-04-12 14:33:26 +00:00
josephpv
5e62407466 Add mocks for LockPatternUtils.isSecure() method in setup
This change adds mocking for LockPatternUtils.isSecure method in the
tests where SecurityFeatureProvider is referred in setup as per the
comment in b/323649600#comment7
The tests are passing locally even without this.

Bug: 333504640
Test: atest com.android.settings.privatespace
Change-Id: I7d9c3a8356dbf25cf09530ffb53712b3ab887160
2024-04-12 11:48:48 +00:00
Angela Wang
d5fd2b8dde Update logs for BluetoothDetailsHearingAidsPresetsController
1. Change logs in error callback from debug to warning level
2. Remove redundant logs

Bug: 334000375
Test: simple change, no tests needed
Change-Id: I0fa0d1a693d43b8f774dd87b72839370840f65a8
2024-04-12 08:21:33 +00:00
Fan Wu
ad61db703f Remove two usages of LooperMode.LEGACY
Bug: 330824314

Test: atest
Change-Id: I77c18520cd8b6f9b394ef04ee46e870e70ee1f8b
2024-04-12 07:14:25 +00:00
songferngwang
e09f077e25 Fix the settings crash am: 428aaacefa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26930398

Change-Id: Ibe1d3c73afac7439a6a4b4a87039a5e623543ced
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 07:11:17 +00:00
Charlotte Lu
0dd832ec8f Merge "[WIFI-Enterprise] Add Server name field." into main 2024-04-12 06:40:23 +00:00
Pajace Chen
d9b44a8b9c Add charging string V2 for settings
Apply charging string V2 for settings

Bug: 328546483
Test: Manual test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6f3c97f60a966a8ec357ba4d15b19d9d7a04b34d)
Merged-In: Ic68bf4231da81d865faa285bca97a929abe26a42
Change-Id: Ic68bf4231da81d865faa285bca97a929abe26a42
2024-04-12 06:23:55 +00:00
Treehugger Robot
3ac7abe2dd Merge "Fix failed test case in BatteryInfoTest" into main 2024-04-12 06:21:50 +00:00
songferngwang
428aaacefa Fix the settings crash
When the user select mobile network settings item with subid=-1 in
the search list, then some of objects are not initialized.

Bug: 325956182
Test: atest AutoSelectPreferenceControllerTest
atest MobileNetworkPhoneNumberPreferenceControllerTest
atest MobileNetworkSpnPreferenceControllerTest
atest MobileNetworkImeiPreferenceControllerTest
atest WifiCallingPreferenceControllerTest

Change-Id: I17c24b6f542392f018c65b689862f9735fad4b9f
(cherry picked from commit e0b5de28ae)
2024-04-12 06:07:21 +00:00
Charlotte Lu
b13d63a30e [WIFI-WEP] Add WEP dialog in System UI.
Test: Visual Test
Fix: 328365908
Change-Id: Id4aca7ce4d014ff17ccde37e74d41cab920715cd
2024-04-12 05:50:15 +00:00
Pajace Chen
afdf231921 Fix failed test case in BatteryInfoTest
Test:  http://ab/I66000010265031461
Bug: 333857349
Change-Id: I213b4cab305a1484684f2f85294d71531bb8a048
2024-04-12 05:19:18 +00:00
Chelsea Hao
96487471e7 Merge "Auto on string update." into main 2024-04-12 04:55:41 +00:00
Charlotte Lu
233c84f6da Merge "[WIFI-Enterprise] Change the summary for Certificate Details." into main 2024-04-12 04:40:30 +00:00
Charlotte Lu
0a87a1685e [WIFI-Enterprise] Add Server name field.
Test: Unit Test
Fix: 333855426
Change-Id: Idfcb5f4efd36257188b04e2be7c7dc1127681b06
2024-04-12 12:39:55 +08:00
Hyunho
477b291b5d When the transfer status is CONVERTED, the menu on the pSIM is greyed out.
UX update for converted pSIMs.

Bug: 326896614
Test: manual test

Change-Id: I68ca181ec16c839ed8dc5dba3f8dc75aba09ab5b
2024-04-12 03:29:35 +00:00
Chaohui Wang
823d18708a Merge "Move nfc_detection_point.png to res/drawable" into 24D1-dev am: e499724357
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26901180

Change-Id: Ic934242c6c07f0ff62525e0ab089e2d3009d6526
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 03:26:29 +00:00
Chaohui Wang
e499724357 Merge "Move nfc_detection_point.png to res/drawable" into 24D1-dev 2024-04-12 03:10:48 +00:00
Becca Hughes
00edf33615 Merge "Make sure policy transparency is applied in all cases" into main 2024-04-11 20:41:50 +00:00
Joshua Mccloskey
d152502aae Merge "Updated FakeFingerprintManagerInteractor" into main 2024-04-11 20:15:23 +00:00
Treehugger Robot
f535575216 Merge "Restore enterprise policy checks" into 24D1-dev am: 1aea823b37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26923215

Change-Id: Idb2cd6f7a9af49d79202fa4379c6485da6b8d172
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 18:58:18 +00:00
Treehugger Robot
1aea823b37 Merge "Restore enterprise policy checks" into 24D1-dev 2024-04-11 18:44:39 +00:00
Treehugger Robot
2c3433467c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: 5ef10b2975 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26915529

Change-Id: I9fd78b4a37b804f5febff71665ad90f5df7da8e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 17:45:01 +00:00
Bill Yi
d2dbccdf88 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 80d2d9b9e3 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26915529

Change-Id: I3375602fa5580d0dff97cab507a031db8a64f72b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 17:44:54 +00:00
Treehugger Robot
8745f5d109 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 46d35a41d7 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26916338

Change-Id: I8b4abd9eb983277308a064ae9dc450f891e0a84e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 17:43:21 +00:00
Bill Yi
dfa70dd213 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 172b3d5664 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26916338

Change-Id: I9b9a606361135111089b4937274160beb4fc6725
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 17:43:18 +00:00
Treehugger Robot
59d4e7a404 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 2e1f012b2b -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26916336

Change-Id: I76eab425ad64ac9ad4bcba7c82e14e2228017a7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 17:43:15 +00:00
Bill Yi
41f0342e23 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e049a82da8 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26916336

Change-Id: Ie3ca457ac371760b0ca812fe71e6a432e0e93d68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 17:43:00 +00:00