Sudheer Shanka
8af457e732
Merge "Provide SuspendDialogInfo when quarantining an app." into main
2023-09-28 20:20:46 +00:00
Sudheer Shanka
b5441bf782
Provide SuspendDialogInfo when quarantining an app.
...
Customize the dialog to include a button to allow
users to take an app out of the quarantine state.
Bug: 297934650
Test: atest tests/robotests/src/com/android/settings/development/quarantine/QuarantinedAppsScreenControllerTest.java
Change-Id: I1b6e9f057fed91ae131602fd6d6ddf5e23958a65
2023-09-28 14:48:15 +00:00
Yiyi Shen
7edfdba9c8
Merge "Fix SettingsRoboTests for connecteddevice." into main
2023-09-28 10:11:12 +00:00
Treehugger Robot
747d86fef5
Merge "Fix & ignore some tests" into main
2023-09-28 07:41:13 +00:00
Yiyi Shen
ca8885a549
Fix SettingsRoboTests for connecteddevice.
...
Bug: 296507968
Test: atest
Change-Id: I5b1e868efeffd0ae185c93623c1daa4a5486e751
2023-09-28 14:49:03 +08:00
Chaohui Wang
58871ff999
Merge "Improve the latency of DataUsageList" into main
2023-09-28 03:18:38 +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
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
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
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
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
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
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
Edgar Wang
4d71b8016b
Merge "Fix robo test case failed" into main
2023-09-26 11:46: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
Edgar Wang
292f407071
Fix robo test case failed
...
Bug: 300134365
Test: robotest
Change-Id: I144fbbc962a479c97312cee1645c5a3d70351542
2023-09-26 15:49:40 +08: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
Peiyong Lin
774378530f
Add debug property to safe guard ANGLE developer option UI.
...
Add a debug property to guard ANGLE developer option UI, only when the
debug property is enabled will ANGLE developer option UI be enabled.
Add further clarification in the text to indicate that this is an
experimental feature.
Bug: b/287909344
Test: atest -c GraphicsDriverEnableAngleAsSystemDriverControllerJUnitTest
Test: atest -c GraphicsDriverEnableAngleAsSystemDriverControllerTest
Change-Id: Ife31f4b0426f3ce107f86cfbaf3f1aeca567e250
2023-09-25 18:33:00 +00:00
Chris Göllner
f09a5ce94c
Start logging rotation lock history + include caller information
...
There have been a few reports on foldables where rotation lock suddenly
changed, without user interaction.
Adding these logs will make it easier to debug the issue.
Bug: 289023967
Bug: 289534937
Bug: 279685215
Test: Manually - Change rotation lock and check logs in dumpsys
Change-Id: I2a877e7b47c863871a2c6ba29ce46e63d28c8008
2023-09-25 17:55:06 +01:00
Viesturs Zarins
40765c7763
Add searchable metadata attribute for injected tiles.
...
Allowing the injector to directly control search behavior for their tiles.
Bug: b/299430183
Test: robotest, manual
Change-Id: I21915978d6722998a45741410cca72448aacf2e0
2023-09-25 08:24:01 +00: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
7cbef7df1f
Update Battery preference for Instant Hotspot am: ab895fdb9b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24834492
Change-Id: If9568f609efa9fb0484697eceac1f7f9a136abff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-22 18:06:51 +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
Weng Su
ab895fdb9b
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
Merged-In: I89e811ba0d1b715d4fff23c96bc094cd4270fef7
Change-Id: I89e811ba0d1b715d4fff23c96bc094cd4270fef7
2023-09-22 20:36:38 +08: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
9ab25973af
Merge "Call detect anomaly in period job only when there is new battery usage data." into udc-qpr-dev am: a72b00a968
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24800290
Change-Id: I7a24ea9b18c421a7de2d2752bfc5158e21aa324e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-20 12:16:43 +00:00
Treehugger Robot
a72b00a968
Merge "Call detect anomaly in period job only when there is new battery usage data." into udc-qpr-dev
2023-09-20 11:01:27 +00: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
Zaiyue Xue
8371d08595
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
Merged-In: I11c1b41a45e129bcec57b9d18c4affe0de7f1d38
2023-09-20 17:04:01 +08:00