Zaiyue Xue
6bf04986ac
Fix NullPointerException when showEmptyChart
...
Bug: 301880705
Fix: 301880705
Test: presubmit
Change-Id: I22a1df6b791396b398038c6bdb8e6b3ca37dc9e1
2023-09-26 11:40:57 +08:00
Chaohui Wang
de83cdcdd3
Clean up unused EXTRA_NETWORK_TYPE
...
Bug: 290856342
Test: manual - on DataUsageList
Change-Id: Ibb0a50a18a581e5cd89246ed581b69e06f588f66
2023-09-25 09:42:16 +08:00
Chaohui Wang
5ed30f4672
New DataUsageListHeaderController
...
Move spinner and config button to DataUsageListHeaderController.
Bug: 290856342
Test: manual - on DataUsageList and AppDataUsage
Test: unit test
Change-Id: I655bd3441b2305708c0052f1203538bb07eef2af
2023-09-25 00:28:31 +08:00
Peter Kalauskas
1bb84f9854
Merge "Enable use_resource_processor for all sysui deps" into main
2023-09-22 18:41:27 +00:00
Weng Su
af77327017
Update Battery preference for Instant Hotspot
...
- Use the static battery full icon
- Show charging status in Battery preference summary
Bug: 300559036
Test: manual test
atest -c WifiNetworkDetailsFragmentTest
Change-Id: I89e811ba0d1b715d4fff23c96bc094cd4270fef7
2023-09-22 12:45:52 +00:00
Yiyi Shen
5ae6db2477
Merge "Move ShadowBluetoothUtils.java to tests/robotests/testutils." into main
2023-09-22 08:49:25 +00:00
Yiyi Shen
791e8b8dfb
Move ShadowBluetoothUtils.java to tests/robotests/testutils.
...
This is to solve presubmit issue of ag/24820489
Bug: 296507968
Test: build
Change-Id: I44df560f30245ab4d98a3bedf40d9e5707e82189
2023-09-22 14:01:58 +08:00
Treehugger Robot
56218460b4
Merge "Use BillingCycleRepository in DataUsageList" into main
2023-09-22 03:24:50 +00:00
Peter Kalauskas
80e914a263
Enable use_resource_processor for all sysui deps
...
This will make the build faster
Test: m checkbuild
Bug: 295208392
Change-Id: If75acb6b1c3f204e3686c20cef609f7cfabe15cf
2023-09-21 23:09:39 +00:00
Sudheer Shanka
08710ee575
Merge "Add controls in dev options to quarantine apps." into main
2023-09-21 22:47:30 +00:00
Chaohui Wang
8c5bd75560
Use BillingCycleRepository in DataUsageList
...
Unify the enable logic for the "Data warning & limit" page.
Bug: 290856342
Test: manual - on DataUsageList
Test: m RunSettingsRoboTests
Change-Id: I3014461ef21768b5d0eb6d91873a4ba52d20f6bf
2023-09-21 18:27:52 +08:00
Chaohui Wang
c39acee194
Clean up NetworkServices from setTemplate
...
Not used any more.
Bug: 290856342
Test: manual - on mobile settings
Test: m RunSettingsRoboTests
Test: unit test
Change-Id: I9c8dde2a8812e83e535d15713ccbf25b42f1f303
2023-09-21 12:57:51 +08:00
Treehugger Robot
ab64754c7c
Merge "Fix Notifications SettingsRoboTests" into main
2023-09-20 15:51:50 +00:00
Chaohui Wang
dc10483dc5
Merge "Move SystemUpdateManager.retrieveSystemUpdateInfo" into main
2023-09-20 15:39:37 +00:00
Valentin Iftime
92f268ae91
Fix Notifications SettingsRoboTests
...
Fix failing Settings Robolectric tests for notifications.
Test: atest SettingsRoboTests:com.android.settings.notification
Test: atest SettingsRoboTests:com.android.settings.notification.app
Bug: 300157932
Change-Id: I068017b5c9bf6beb83ae7c580ae3206807b358e7
2023-09-20 16:48:55 +02:00
Treehugger Robot
c3ff29b124
Merge "Call detect anomaly in period job only when there is new battery usage data." into main
2023-09-20 09:56:12 +00:00
Zaiyue Xue
c3cf254c7d
Call detect anomaly in period job only when there is new battery usage data.
...
- Reduce the memory usage of call anomaly detection
- Remove redundant condition for low battery banner
Bug: 300446490
Bug: 284893240
Fix: 300446490
Test: presubmit
Change-Id: I11c1b41a45e129bcec57b9d18c4affe0de7f1d38
2023-09-20 17:04:31 +08:00
Angela Wang
e0313e1abe
Merge "Hide pair other ear button after device connected via CSIP" into main
2023-09-20 05:59:08 +00:00
Chun-Ku Lin
74cf9db43f
Merge "Fix ScreenFlashNotificationColorDialogFragmentTest by launching the fragment in modern way." into main
2023-09-20 03:42:54 +00:00
Treehugger Robot
8a1fc230f2
Merge "Fixed the robo test failed in AmbientDisplayAlwaysOnPreferenceControllerTest" into main
2023-09-19 13:46:21 +00:00
Sunny Shao
cd75cad83e
Fixed the robo test failed in AmbientDisplayAlwaysOnPreferenceControllerTest
...
- Change the test name because the function content was swapped
between isPublicSlice and isSliceable.
Fixes: 300376009
Test: atest AmbientDisplayAlwaysOnPreferenceControllerTest
Change-Id: I922810c81a44d6954cd167097c62cdc798238e2e
2023-09-19 20:27:23 +08:00
Chun-Ku Lin
186644aa6e
Fix ScreenFlashNotificationColorDialogFragmentTest by launching the
...
fragment in modern way.
Fix: 300158485
Test: atest ScreenFlashNotificationColorDialogFragmentTest
Change-Id: I3396b05ad78501b38e68360e25389966d379aacb
2023-09-19 08:40:36 +00:00
Treehugger Robot
d7d8184bb7
Merge "Use system properties for the le audio toggle ui config instead" into udc-qpr-dev am: 2d7a469264
am: b15719119e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24768698
Change-Id: I88024462c4587db39a5e6671223504a5b7938c49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-19 08:00:32 +00:00
Treehugger Robot
b15719119e
Merge "Use system properties for the le audio toggle ui config instead" into udc-qpr-dev am: 2d7a469264
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24768698
Change-Id: Ie138a425906541eb2bc8f1c08a8956636363a141
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-19 07:05:06 +00:00
Chaohui Wang
cda836fff7
Move SystemUpdateManager.retrieveSystemUpdateInfo
...
Into Kotlin Coroutine for true async.
Bug: 300851543
Test: manual - on system page
Test: unit test
Change-Id: Ibec5c9d0934d71ed1a5808cadf3b3542eb3d5fa0
2023-09-19 14:54:41 +08:00
Treehugger Robot
2d7a469264
Merge "Use system properties for the le audio toggle ui config instead" into udc-qpr-dev
2023-09-19 06:31:29 +00:00
Angela Wang
7a15ecafde
Hide pair other ear button after device connected via CSIP
...
The pair other ear button should disappear after both ears of binaural
hearing aids are connected.
Remove checking if CSIP is enabled since CSIP is always enabled in
pairing stage.
Bug: 296646732
Test: check the UI manually
Change-Id: I804819eef41b5d3754ad0a79d9fc1afc66cef5cc
2023-09-19 04:49:35 +00:00
Xinyi Mao
8d91b3116b
Merge "App anomaly tips on PowerUsage App list" into udc-qpr-dev am: 821ed07099
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24677374
Change-Id: I15dad922e0942175e56370a7001ada1afe2c19b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-19 03:36:03 +00:00
Xinyi Mao
821ed07099
Merge "App anomaly tips on PowerUsage App list" into udc-qpr-dev
2023-09-19 03:10:17 +00:00
Xinyi Mao
acb47b00f4
Merge "App anomaly tips on PowerUsage App list" into main
2023-09-19 03:09:48 +00:00
Behnam Heydarshahi
7549d613e6
Set a11y focus for selected Settings item
...
When a Settings preference item is selected via a settings panel or
settings search, the system takes user to its corresponding subsettings
activity. There, in the past, the selected preference was highlighted
but the a11y focus was set on the back button. This code sets the a11y
focus on the selected preference.
Bug: b/285512439
Test: atest HighlightablePreferenceGroupAdapterTest
Change-Id: I7edc697e2e3870b1822279c115230add14e82df0
2023-09-18 18:30:12 +00:00
mxyyiyi
56ba1c09d9
App anomaly tips on PowerUsage App list
...
Screenshots:
[in bg - banner] https://screenshot.googleplex.com/MzLC6LfX93TkkYf
[in bg - hints] https://screenshot.googleplex.com/9JLXNsRiVG8arAU
[in fg - banner] https://screenshot.googleplex.com/9oYbwUkeeLbQX2t
[in fg - hints] https://screenshot.googleplex.com/53DTTUCUnf8rsoE
[apps anomaly highlight hint + settings anomaly banner]
https://screenshot.googleplex.com/8NdS2VMrSzwv2DM
Bug: 291689643
Bug: 291689623
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bfd0f5859b6e5ffef4727ee562009f2050de7a58 )
Change-Id: Ic02db49cb3794ef134759d9dcec5f5ef32454a95
2023-09-18 10:41:27 +00:00
mxyyiyi
e9378d27f7
App anomaly tips on PowerUsage App list
...
Screenshots:
[in bg - banner] https://screenshot.googleplex.com/MzLC6LfX93TkkYf
[in bg - hints] https://screenshot.googleplex.com/9JLXNsRiVG8arAU
[in fg - banner] https://screenshot.googleplex.com/9oYbwUkeeLbQX2t
[in fg - hints] https://screenshot.googleplex.com/53DTTUCUnf8rsoE
[apps anomaly highlight hint + settings anomaly banner]
https://screenshot.googleplex.com/8NdS2VMrSzwv2DM
Bug: 291689643
Bug: 291689623
Bug: 284893240
Test: manual
Change-Id: Ic02db49cb3794ef134759d9dcec5f5ef32454a95
Merged-In: Ic02db49cb3794ef134759d9dcec5f5ef32454a95
Merged-In: I7015cdf5a96d518febb160934d780ae84fe14427
2023-09-18 18:28:20 +08:00
Treehugger Robot
71235aa403
Merge "Fixed the robo test failed in FoldLockBehaviorSettingsTest" into main
2023-09-18 07:36:10 +00:00
Sudheer Shanka
abbb5c4dc3
Add controls in dev options to quarantine apps.
...
Bug: 297934650
Test: m -j RunSettingsRoboTests
Test: atest SettingsUnitTests
Change-Id: Ic0f35b370c04dd4ed3baaf3610b46ff1b37a0463
2023-09-18 07:27:37 +00:00
Sunny Shao
572636110a
Fixed the robo test failed in FoldLockBehaviorSettingsTest
...
- Use the ShadowSystemSettings instead of SystemSettings.
Fixes: 300201006
Test: atest SettingsRoboTests:com.android.settings.display.FoldLockBehaviorSettingsTest
Change-Id: I360bda0b0b35692e0eaf2060aadb791ecb9dd039
2023-09-18 14:27:16 +08:00
Alice Kuo
aa734eb52a
Use system properties for the le audio toggle ui config instead
...
Config LE audio UI per devices. Change to use system properties instead
Bug: 300807171
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioDeviceDetailsPreferenceControllerTest
Change-Id: Id0d624f516b9fdbe2380e5f10da5c69b08eea6a4
2023-09-18 03:05:59 +00:00
Chaohui Wang
0cb8d91e4e
Create DataUsageListAppsController
...
Move apps group logic from DataUsageList.
Also add key to AppDataUsagePreference, which reduce flaky and keep
scroll position when back from app detail page.
Bug: 290856342
Test: manual - on DataUsageList
Test: unit test
Change-Id: I61e2b6bd9b192b7230e3553dbc6038f5d59bd303
2023-09-17 13:51:11 +08:00
Behnam Heydarshahi
e711c0f256
Merge "PanelSlicesAdapter: load slice label safely" into udc-qpr-dev am: c46e8546b5
am: a38edf1ab2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24664970
Change-Id: I09416fd5dee6842179358c6bb9bba6c533841045
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-16 02:55:24 +00:00
Guojing Yuan
e0cce7bf6a
Merge "[CDM] Add Permissions Sync toggle" into udc-qpr-dev am: d43d6f259a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24708184
Change-Id: I3c29e5b9a46695e5c21a837e00891cc22e0bff4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-15 21:49:46 +00:00
Guojing Yuan
d43d6f259a
Merge "[CDM] Add Permissions Sync toggle" into udc-qpr-dev
2023-09-15 21:15:00 +00:00
Guojing Yuan
5f86e8ff03
[CDM] Add Permissions Sync toggle
...
Bug: 290063372
Test: manually tested the toggle
Change-Id: I75d4370eed98275e2f99d65620229bdb57193fb8
Merged-In: I75d4370eed98275e2f99d65620229bdb57193fb8
2023-09-15 18:05:37 +00:00
Behnam Heydarshahi
a38edf1ab2
Merge "PanelSlicesAdapter: load slice label safely" into udc-qpr-dev am: c46e8546b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24664970
Change-Id: I08ca157dc7fc5ac41697023265268603e737c044
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-15 17:21:07 +00:00
Behnam Heydarshahi
c46e8546b5
Merge "PanelSlicesAdapter: load slice label safely" into udc-qpr-dev
2023-09-15 16:52:10 +00:00
Behnam Heydarshahi
374b417b68
PanelSlicesAdapter: load slice label safely
...
Load the slice action label string safely when action label is set, and
no longer at adapter instantiation time.
Bug: b/298571448
Test: atest PanelSlicesAdapterTest
Change-Id: I0d5b6e0b2db2fa78d3f58ae2cb96f14437923ffd
2023-09-15 14:44:33 +00:00
Treehugger Robot
51749d4418
Merge "Refresh title in the Network details header" into udc-qpr-dev am: 6aaf49dc1d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24755454
Change-Id: Ic692b1ad20ae7a0ba31f2dbd6bfa3aa3cbb42024
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-15 04:04:46 +00:00
Weng Su
fafdf08535
Refresh title in the Network details header
...
- Since the title information may be updated later, it needs to be refreshed continuously to display the latest results.
Bug: 299514568
Test: manual test
atest -c WifiDetailPreferenceController2Test
Merged-In: I4634c152b550c59bd9854cde1b91da44442aa879
Change-Id: I4634c152b550c59bd9854cde1b91da44442aa879
2023-09-15 02:52:38 +00:00
Weng Su
54d0709409
Refresh title in the Network details header
...
- Since the title information may be updated later, it needs to be refreshed continuously to display the latest results.
Bug: 299514568
Test: manual test
atest -c WifiDetailPreferenceController2Test
Change-Id: I4634c152b550c59bd9854cde1b91da44442aa879
2023-09-15 04:45:25 +08:00
Guojing Yuan
ac64ce5153
Merge "[CDM] Add Permissions Sync toggle" into main
2023-09-13 17:37:58 +00:00
Wentao Wang
f11e1666bf
Merge "Separate the demo user factory reset option with admin user factory reset option." into udc-qpr-dev am: 38f12abb75
am: 0d3ae3ed32
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24677431
Change-Id: Ie89643b620ee82e4f30ab98ca466f54bd68b8067
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-13 13:53:24 +00:00