Commit Graph

22475 Commits

Author SHA1 Message Date
Joseph Vincent
02f1db61d8 Merge "Set SKIP_FIRST_USE_HINTS setting for private space" into main 2024-04-15 18:04:58 +00:00
Pajace Chen
30a03c4ee8 Merge "Fix "Free up space" not clickable issue" into main 2024-04-15 13:15:16 +00:00
Samuel Huang
cbf5154291 Disable SIM On/Off operation when device is in Satellite Enabled Mode
Bug: 315928920
Test: atest, manual
Change-Id: I7aaaf43b4c449129197e7cc92565d274ffdd2d8c
2024-04-15 12:31:17 +00:00
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
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
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
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
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
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
e926e87c4b Merge "Add mocks for LockPatternUtils.isSecure() method in setup" into main 2024-04-12 15:21:05 +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
Fan Wu
ad61db703f Remove two usages of LooperMode.LEGACY
Bug: 330824314

Test: atest
Change-Id: I77c18520cd8b6f9b394ef04ee46e870e70ee1f8b
2024-04-12 07:14:25 +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
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
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
Joshua Mccloskey
d152502aae Merge "Updated FakeFingerprintManagerInteractor" into main 2024-04-11 20:15:23 +00:00
Manish Singh
cace44f497 Fix location services for all profiles
Bug: 330538899
Bug: 333507072
Test: atest LocationInjectedServicesPreferenceControllerTest
Test: manual
Change-Id: Ia42e59b73b9b7c84ecb89082e968b801e1fd1302
2024-04-11 16:11:41 +00:00
pajacechen
93599816d0 Fix filed test case in BatteryInfoTest
Root cause: the test case has timezone dependency, it need to set
timezone before run the test case or it will be failed on different
timezone.
Solution: Replace AlarmManager.setTimeZone with TimeZone.setDefault,
AlarmManager.setTimeZone() seems failed to change timezone for test case.

Fix: 333857349
Test: http://ab/I51500010265016400
Change-Id: Id36dd10866720cba19cce471d294e09272c8091f
2024-04-11 21:57:20 +08:00
Treehugger Robot
4812ce3732 Merge "Don't log anomaly event_id because it is not a repeated string." into main 2024-04-11 12:06:08 +00:00
Charlotte Lu
eab9765e52 [WIFI-Enterprise] Change the summary for Certificate Details.
Test: Visual Test
Fix: 333850992
Change-Id: If2d8743f788a0732267ac6576f77bea41b4e2e84
2024-04-11 11:40:30 +00:00
Pajace Chen
c55cd9526e Merge "Add charging string V2 for settings" into main 2024-04-11 10:38:40 +00:00
Weng Su
a66a4a0d41 Merge "Checks WEP password lengths of Wi-Fi network" into main 2024-04-11 10:07:11 +00:00
Zaiyue Xue
71adec6dd5 Don't log anomaly event_id because it is not a repeated string.
Bug: 316075226
Test: presubmit
Change-Id: Id0b598b5cbdee15ae11ecf3d8d0dc7b7c67e9f3f
2024-04-11 17:50:54 +08:00
Fan Wu
f83b076d66 Merge "Remove LooperMode.LEGACY from settings/password" into main 2024-04-11 08:43:56 +00:00
Weng Su
1cd3b6f21f Checks WEP password lengths of Wi-Fi network
- Checks for WEP40 and WEP104 password lengths (5 and 13 bytes)

Bug: 333289235
Flag: None
Test: unit test
atest -c WifiConfigController2Test

Change-Id: I5f96ad67ed0c67a2724960e72464dc0a56c0c1ab
2024-04-11 08:20:17 +00:00
Samuel Huang
ba03a22317 Avoid SIM card on/off dialog pop-up if satellite is enabled am: f2ed0ec752
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26847152

Change-Id: Ifb4f85972f29370d51a8c6363fa8efd63e6dead5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 07:36:48 +00:00
Fan Wu
b941ff7b11 Remove LooperMode.LEGACY from settings/password
Bug: 333831275

Test: atest
Change-Id: I34df868ceebf86d320ee5ff8de7657fbb221b9fc
2024-04-11 06:52:22 +00:00
Samuel Huang
f2ed0ec752 Avoid SIM card on/off dialog pop-up if satellite is enabled
In order to support Satellite SOS, device will have two modems, one for TN, one for NTN(satellite).

When device switches to satellite mode, PSS only disables TN eSIM (and not TN PSIM). Since NTN image only supports eSIM, there is no need to disable TN PSIM before switching to NTN image. Somehow device is seeing that TN PSIM is available and is showing the user to enable it. So we need to handle it by not showing this dialog during satellite mode enabled.

Bug: 330585109
Test: atest, manual
Change-Id: I9781b7e1cef8f7f10e7ecdbb23ca729da4d06eba
2024-04-11 05:20:53 +00:00
Fan Wu
596d6dd99b Remove LooperMode.LEGACY usage from settings/notification
Bug: 333808868

Test: atest
Change-Id: I11d68462adf60a02224306e848f9280cd1bdad4f
2024-04-11 03:29:19 +00:00
Angela Wang
ae7008c0a7 Merge "Try select preset independently after group operation failed" into main 2024-04-11 01:04:51 +00:00
Fan Wu
05f0186aff Merge "Remove Looper.Legacy usage from multiple test classes" into main 2024-04-11 00:53:34 +00:00
Chun-Ku Lin
bbb2f96af3 [Flag cleanup] remove separate_accessibility_vibration_settings_fragments
This bug fix associated with this flag is low risk. The flag has been
soaked in the Trunkfood full for 30 days and tested by 1000+ users.
Based on the flag cleanup policy, we can clean up the flag.

Bug: 289967175
Flag: EXEMPT flag cleanup
Test: Run the Settings app and can still see the vibration & haptics
screen

Change-Id: I39890a33f04b53565461ae2c6c4e63b94f205e6d
2024-04-10 19:27:55 +00:00
Rafael Higuera Silva
268fa16d5b Add logic to log interaction of RAC warning dialog.
Bug: 326618987
Test: make, atest EuiccRacConnectivityDialogFragmentTest
Change-Id: Iccec9245da27d525cfb3d74504ab86859e152a6e
Merged-In: Iccec9245da27d525cfb3d74504ab86859e152a6e
(cherry picked from commit ea0453e5f6)
2024-04-10 16:26:06 +00:00
Pajace Chen
6f3c97f60a Add charging string V2 for settings
Apply charging string V2 for settings

Bug: 328546483
Test: Manual test

Change-Id: Ic68bf4231da81d865faa285bca97a929abe26a42
2024-04-10 18:58:37 +08:00
Fan Wu
736377d5e2 Merge "Remove LooperMode.LEGACY from settings/localepicker" into main 2024-04-10 09:07:23 +00:00
Fan Wu
9177f81f16 Remove Looper.Legacy usage from multiple test classes
Bug: 330824314

Test: atest
Change-Id: I0272aca48747afbecdda391feb5e129f0e214623
2024-04-10 09:02:35 +00:00
Fan Wu
ff45be03b1 Remove LooperMode.LEGACY from settings/localepicker
Bug: 333641139

Test: atest
Change-Id: Ib26635f88623ace2d70ffd221aa36cb8157f8f46
2024-04-10 04:48:00 +00:00
Fan Wu
b9798f0798 Remove LoopeMode.LEGACY usage from two test classes
Bug: 330824314

Test: atest
Change-Id: I6dea662c4dea226d06b17d0d5463f01cb668a67d
2024-04-10 03:59:53 +00:00
Song Chun Fan
844d2f4c67 [Settings/Archive] remove all checks for the archiving system property
No longer needed

BUG: 331165939
Test: builds
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6ae958abd26ed77ecd4d3fb1720bb912553da2ea)
Merged-In: I24bc9a3d7503da1606d29eb3dfa963b0e6bf9d3e
Change-Id: I24bc9a3d7503da1606d29eb3dfa963b0e6bf9d3e
2024-04-09 18:08:41 +00:00
Rafael Higuera Silva
5405aa17a1 Add logic to log interaction of RAC warning dialog.
Bug: 326618987
Test: make, atest EuiccRacConnectivityDialogActivityTest
Change-Id: If4e3285b3715e9630d4932d4bf1bcb71e4167cff
Merged-In: If4e3285b3715e9630d4932d4bf1bcb71e4167cff
2024-04-09 17:14:35 +00:00
Joseph Vincent
1ddef782c8 Merge "canAddPrivateProfile checks for private space creation test" into main 2024-04-09 10:48:41 +00:00
Angela Wang
4db16f1125 Try select preset independently after group operation failed
For some binaural models, when only one side is connected and call a group operation, the remote device will return ERROR_REMOTE_OPERATION_REJECTED. We can re-try to selectthe  preset for each device independently in this case. After the other device is reconnected, the preset should automatically sync in the remote side.

Bug: 300015207
Test: manual test with Gn Resound LE sample and verify it works
Test: atest BluetoothDetailsHearingAidsPresetsControllerTest
Change-Id: I3ea621577c248c974505b9ce65d8ef260f5b87e1
2024-04-09 10:22:00 +00:00
Tom Hsu
de9a888469 Merge "Listen wifi entry change to make sure UI correct." into main 2024-04-09 09:16:42 +00:00
Fan Wu
82c6d5fc63 Merge "Remove LooperMode.LEGACY usage" into main 2024-04-09 08:34:36 +00:00
Treehugger Robot
0f33518068 Merge "Add flag to control Internet preference" into main 2024-04-09 08:22:57 +00:00