Commit Graph

137590 Commits

Author SHA1 Message Date
Bill Yi
9a21ad3bdd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7d55bf64f4bb60e2e44ca0e645601f44b624912b
2023-09-27 13:36:20 -07:00
Eghosa Ewansiha-Vlachavas
6bd9bff2e2 [1/n] Aspect ratio settings app list refinement
All apps list for work profile currently only shows work apps that are
also installed on the normal user. Update filter for list to show all
launcher apps for both users in their respective lists.

Fixes: 301373413
Test: atest SettingsUnitTests:UserAspectRatioManagerTest
Test: atest SettingsSpaUnitTests:UserAspectRatioAppPreferenceTest
Change-Id: Ia0bf15340d1b37dcd926d81598d3e94f448a46fc
2023-09-27 17:30:23 +00:00
Chaohui Wang
9b4db8d33f Fix & ignore some tests
Fix the followings,
- SimSelectNotificationTest
- WifiCallingSliceHelperTest
- WifiDetailPreferenceController2Test
- WifiDialogActivityTest

Ignore the followings,
- WifiP2pSettingsTest

Fix: 300160894
Test: robo test
Change-Id: I27b6eb61dccbd0688a100154fc77b82a91eede57
2023-09-27 23:45:48 +08:00
Treehugger Robot
df1e559e91 Merge "Remove availability tests from RingVolumePreferenceControllerTest" into main 2023-09-27 14:21:54 +00:00
Treehugger Robot
53142da077 Merge "Use profile badge without background for notification history" into main 2023-09-27 13:41:12 +00:00
Valentin Iftime
8eb200c177 Remove availability tests from RingVolumePreferenceControllerTest
Controller is always UNSUPPORTED_ON_DEVICE.

Test: atest com.android.settings.notification.RingVolumePreferenceControllerTest

Bug: 300157932
Bug: 302295368
Change-Id: I9f0a453d2966e68e34e381ed1b1a0a01e1e65e23
2023-09-27 15:30:54 +02:00
Valentin Iftime
37b3b9b1db Use profile badge without background for notification history
Use the no-brackground work profile badge for notification history list items.

Test: manual
Bug: 291974306
Change-Id: I4c75267be1090cda03de2bc3fdcfc19fc398a223
2023-09-27 14:43:24 +02:00
Treehugger Robot
7147945912 Merge "Fix SmartAutoRotatePreferenceFragmentTest" into main 2023-09-27 12:13:24 +00:00
Chris Göllner
0e0dd4d631 Fix SmartAutoRotatePreferenceFragmentTest
- Adds missing set up for postures helper
- Adds missing mock for context.getApplicationContext

Fixes: 300380893
Test: atest SettingsRoboTests:SmartAutoRotatePreferenceFragmentTest
Change-Id: Ib3cde08354e368c2ac2ecc9024e8f8358fe7b772
2023-09-27 12:08:11 +01:00
Haijie Hong
1ebf64c059 Merge "Fix scrolling to wrong position issue in Bluetooth Device Details page" into main 2023-09-27 09:43:45 +00:00
Treehugger Robot
2954c150ef Merge "Add SettingsTextFieldPassword." into main 2023-09-27 09:24:47 +00:00
Haijie Hong
c2694e1ff6 Fix scrolling to wrong position issue in Bluetooth Device Details page
Bug: 294355795
Test: tested locally
Change-Id: Ic80fb7974cf30adb3112aeb826c2b5bcb0067afc
2023-09-27 08:34:37 +00:00
Charlotte Lu
cfa739350f Add SettingsTextFieldPassword.
Fix: 298906796
Test: Visual
Change-Id: I7dc8c641f93df96a28a57a6f6082abe264680298
2023-09-27 16:19:19 +08:00
Eghosa Ewansiha-Vlachavas
b5bd432272 Merge "Create new user aspect ratio summary strings" into udc-qpr-dev am: 630758f4e0 am: 12f9e22438
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24853822

Change-Id: I0806b98e7b67620b9b57d808f9d8fa5422393599
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-27 08:12:47 +00:00
Treehugger Robot
90bc26f66d Merge "Fix NullPointerException in NetworkProviderSettings" into main 2023-09-27 08:05:58 +00:00
Chaohui Wang
2205762482 Improve the latency of DataUsageList
Up to 30x faster.

Currently it load the usage detail for every day at the beginning, so
it's quite slow.

To fix,
- Not load the usage detail for every day at the beginning
- Load only the cycles first
- And only load the daily detail for the selected month

Fix: 290856342
Test: manual - on DataUsageList (cell & wifi)
Test: unit tests
Change-Id: Ie18fa68f801743389bd6b6a28e236dcf1fea00e4
2023-09-27 08:05:02 +00:00
Treehugger Robot
db9fdb0de8 Merge "Clean up the global action panel" into main 2023-09-27 07:18:41 +00:00
Eghosa Ewansiha-Vlachavas
12f9e22438 Merge "Create new user aspect ratio summary strings" into udc-qpr-dev am: 630758f4e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24853822

Change-Id: I2a4ab9c5c47aa9ac6a57d2f50e433d279c51d586
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-27 07:08:27 +00:00
Eghosa Ewansiha-Vlachavas
630758f4e0 Merge "Create new user aspect ratio summary strings" into udc-qpr-dev 2023-09-27 06:27:07 +00:00
Treehugger Robot
79343b4680 Merge "Fixed the robo test failed in AutoRotatePreferenceControllerTest and SmartAutoRotatePreferenceControllerTest" into main 2023-09-27 05:32:16 +00:00
Treehugger Robot
02427bb6ff Merge "Fix NPE" into main 2023-09-27 05:09:42 +00:00
Sunny Shao
383edb4afa Fixed the robo test failed in AutoRotatePreferenceControllerTest
and SmartAutoRotatePreferenceControllerTest

- Use the correct Settings.System.putIntForUser API.

Fixes: 300200193
Fixes: 300201185
Test: atest AutoRotatePreferenceControllerTest
Test: atest SmartAutoRotatePreferenceControllerTest
Change-Id: Iadd890f21431ccb5d538e40426b0c7d43d46ba52
2023-09-27 11:19:00 +08:00
Mill Chen
7e31ff431a Clean up the global action panel
The global actions panel has been renamed to power menu and there is a
new preference for power menu. The legacy perference for global actions
panel is unused. This CL is to remove the preference controller from
Settings.

Bug: 289967656
Test: manual test and robotest
Change-Id: If820f3fa8a188223703ebc6bc68120164108f483
2023-09-27 09:30:27 +08:00
Android Build Coastguard Worker
438a1f3a42 Snap for 10865315 from e456cb72f9 to udc-qpr1-release
Change-Id: I7bda74c695aaea8eb5ed15e5e648a1120a33f2eb
2023-09-26 23:19:32 +00:00
Peiyong Lin
21c967bc96 Merge "Add debug property to safe guard ANGLE developer option UI." into udc-qpr-dev am: e456cb72f9 am: 759a3fda7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24842231

Change-Id: Iec2e7a51a9b0179fceef6182a1bd9cd2668ddab0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 21:34:17 +00:00
Peiyong Lin
759a3fda7b Merge "Add debug property to safe guard ANGLE developer option UI." into udc-qpr-dev am: e456cb72f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24842231

Change-Id: Iaae1e5f2747e8e6d62c5426ded572b792642e9b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 20:35:23 +00:00
Weng Su
725a7d2efd Fix NullPointerException in NetworkProviderSettings
- Avoid calling subfunctions when getView returns null

Bug: 301878710
Test: unit test
Change-Id: I8511ded693475468f6dda1d16d040c623097e997
2023-09-27 03:23:13 +08:00
Peiyong Lin
e456cb72f9 Merge "Add debug property to safe guard ANGLE developer option UI." into udc-qpr-dev 2023-09-26 19:19:37 +00:00
Treehugger Robot
fcd8fdf29d Merge "Ignoring several biometric/password robotests" into main 2023-09-26 18:58:53 +00:00
Joshua McCloskey
344e96c7c5 Ignoring several biometric/password robotests
Test: atest SettingsRoboTests:com.android.settings.password
Test: m -j50 RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.biometrics
Bug: 296640651
Change-Id: Ibf184e954c89e423b5fe1afe221c06568502bb37
2023-09-26 17:56:11 +00:00
Ling Ma
8dc7d37187 Fix NPE
There could be a rare race condition where getDefaultDataSubscriptionInfo become null during the evaluatin.

Bug: 299242849
Test: manual
Change-Id: I5765bc8fac5362d16aa0976e1f870f91f0de4c2c
2023-09-26 10:40:24 -07:00
Eghosa Ewansiha-Vlachavas
159b8aed3d Update aspect ratio summary strings
Replace usage of `aspect_ratio_summary` and `aspect_ratio_main_summary`
with `aspect_ratio_summary_text` and `aspect_ratio_main_summary_text`

Fixes: 302142203
Test: Manual
Change-Id: Id7570269806e2dd15f45bdc0aad1ed0534e259b6
2023-09-26 17:04:59 +00:00
Eghosa Ewansiha-Vlachavas
734aae86d4 Create new user aspect ratio summary strings
Fixes: 301224168
Test: Manual
Change-Id: I91eaa96b30bb37cc46620b763ee2e3217dbc8876
2023-09-26 16:59:34 +00:00
Joshua Mccloskey
6d8b293051 Merge "Moved FakeFingerprintManagerInteractor" into main 2023-09-26 15:04:03 +00:00
Edgar Wang
4d71b8016b Merge "Fix robo test case failed" into main 2023-09-26 11:46:28 +00:00
Jason Chang
f68ce5987d Merge "Add OneHandedMainSwitchPreferenceController in the exempt_slice_controller_not_in_xml" into main 2023-09-26 11:20:28 +00:00
Viesturs Zarins
99631a11ec Merge "Add searchable metadata attribute for injected tiles." into udc-qpr-dev am: 5bc1e9b38f am: 68fede37a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24792152

Change-Id: Iffe2d746713a2b7f03261ba02ecbce2713546e7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 10:30:22 +00:00
Treehugger Robot
51e3fc3388 Merge "Start logging rotation lock history + include caller information" into main 2023-09-26 09:43:48 +00:00
Viesturs Zarins
68fede37a0 Merge "Add searchable metadata attribute for injected tiles." into udc-qpr-dev am: 5bc1e9b38f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24792152

Change-Id: Ib3583d5f3a5b7f1086936d848ca41d7921fbded7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 09:32:45 +00:00
Viesturs Zarins
5bc1e9b38f Merge "Add searchable metadata attribute for injected tiles." into udc-qpr-dev 2023-09-26 08:41:52 +00:00
Treehugger Robot
00b04826e3 Merge "Revert "Move SettingsUITests to presubmit"" into main 2023-09-26 08:07:17 +00:00
Edgar Wang
292f407071 Fix robo test case failed
Bug: 300134365
Test: robotest
Change-Id: I144fbbc962a479c97312cee1645c5a3d70351542
2023-09-26 15:49:40 +08:00
Chaohui Wang
861a84dd34 Revert "Move SettingsUITests to presubmit"
This reverts commit b7f1f2372a.

Fix: 302071194
Fix: 302071436
Fix: 302071558
Reason for revert: test breakage

Change-Id: I98baf5c6c703a7f8847d0f0626315dd70a2e0cea
2023-09-26 07:21:01 +00:00
Jayachandran C
b4b18cb65e Merge "[Settings] Hide satellite eSIM from users" into main 2023-09-26 07:14:28 +00:00
Jayachandran C
544d7697a9 [Settings] Hide satellite eSIM from users
Bug: 302044287
Test: Manually verified by forcing the eSIM profile to be NTN
Change-Id: Iba4e42778bdf072ceaecc35a2245ea737e552e5c
2023-09-26 06:24:46 +00:00
Chaohui Wang
5872a8f573 Merge "Move SettingsUITests to presubmit" into main 2023-09-26 05:25:24 +00:00
Zaiyue Xue
6bf04986ac Fix NullPointerException when showEmptyChart
Bug: 301880705
Fix: 301880705
Test: presubmit
Change-Id: I22a1df6b791396b398038c6bdb8e6b3ca37dc9e1
2023-09-26 11:40:57 +08:00
Android Build Coastguard Worker
af1f864d1e [coastguard skipped] Merge sparse cherrypicks from sparse-10849031-L79100000963192060 into udc-qpr1-release.
COASTGUARD_SKIP: I75060fc3d1989522f58cae593b1c1f4063dbd6e5
COASTGUARD_SKIP: I38afc57eac334153d3b033870cfd1cdc5e6afde8

Change-Id: Ic7db34d9681cfa1d61b5a622e8b93216c8b02bc6
2023-09-26 01:34:43 +00:00
Android Build Coastguard Worker
1013a9756b Merge cherrypicks of ['googleplex-android-review.googlesource.com/24820838'] into sparse-10849031-L79100000963192060.
SPARSE_CHANGE: I75060fc3d1989522f58cae593b1c1f4063dbd6e5

Change-Id: I38afc57eac334153d3b033870cfd1cdc5e6afde8
2023-09-26 01:25:13 +00:00
Zaiyue Xue
0eef0fd2b1 Fix JAVA_CRASH NullPointerException in BatteryUsageDataLoader.
Bug: 301362376
Fix: 301362376
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:764337bd809a38c215800b30d84b843ad414537b)
Merged-In: I75060fc3d1989522f58cae593b1c1f4063dbd6e5
Change-Id: I75060fc3d1989522f58cae593b1c1f4063dbd6e5
2023-09-26 01:24:15 +00:00