Chaohui Wang
83c46eb1b6
Fix DataUsageListTest
...
Using androidx.fragment.app.testing.launchFragment to rewrite the test.
Bug: 315449973
Test: manual - on DataUsageList
Test: unit test
Change-Id: Ief373becb4ac8ab1ba93b8ff3c594b5682c4821e
2023-12-19 12:54:31 +08:00
Treehugger Robot
f5f4e0eebd
Merge "Block the disable option for WebView Default package" into main
2023-12-18 15:59:38 +00:00
Andreas Miko
e6151c6d8f
Merge "Fix PinPrivacyPreferenceControllerTest" into main
2023-12-15 12:48:11 +00:00
Fan Wu
5ae70ad1e2
Ignore FingerprintSettingsFragmentTest failing test. This test is blocking SettingsRoboTests from turning green and getting promoted to Presubmit
...
Bug: 315519360
Test: atest
Change-Id: I78500762fd21693f275abce8651a31a648846a02
2023-12-15 11:02:38 +08:00
Chun-Ku Lin
b4665e6714
Merge "Apply Setup styles to the a11y edit shortcut full screen." into main
2023-12-14 22:51:31 +00:00
Chun-Ku Lin
d92f17cdf5
Merge "Convert a11y shortcut edit screen to a full screen." into main
2023-12-14 22:19:08 +00:00
Chun-Ku Lin
9d6bf1b784
Apply Setup styles to the a11y edit shortcut full screen.
...
Bug: 300302098
Test: atest AccessibilitySetupWizardUtilsTest
Test: atest EditShortcutsPreferenceFragmentTest (Unable to make
Robolectric inflate the view of the edit shortcut fragment with the Setup wizard
theme)
Test: manual (Launch the setup wizard and check the screen)
Change-Id: I2995e914d622e9865101ef16e3b280c65371a252
2023-12-14 20:50:45 +00:00
Chun-Ku Lin
64e946c7fa
Convert a11y shortcut edit screen to a full screen.
...
Bug: 300302098
Flag: adb shell device_config put accessibility com.android.settings.accessibility.edit_shortcuts_in_full_screen true
Test: manual
Test: atest com.android.settings.accessibility.shortcuts
Change-Id: I0b5e367fed962ff01036122ce7ff32a8ae47fbc3
2023-12-14 20:50:33 +00:00
Andreas Miko
dfa081da0c
Fix PinPrivacyPreferenceControllerTest
...
isAvailable_lockSetToPinOrPw_shouldReturnTrue() was never functional and is not a valid test case because the functionality was removed in a later patchset within ag/21369281
Test: PinPrivacyPreferenceControllerTest
Bug: b/313612259
Flag: NONE
Change-Id: Id8c91b8d7267a74eb84225e73043f1d4308b6ce0
2023-12-14 12:32:30 +00:00
Manish Singh
aff8a7d231
Fix postsubmit test failures
...
Test: atest ProfileSelectFragmentTest
Bug: 314371622
Change-Id: Id31518fb92491e5a434cc4a3a95b6353d58a382f
2023-12-14 08:31:14 +00:00
Ziad Youssef
e41e5444e9
Block the disable option for WebView Default package
...
Test: atest ApplicationFeatureProviderImplTest
Bug: 308907090
Change-Id: I21785975b965b04895849d2df71fa2f2b4cb4b2d
2023-12-13 12:43:19 +00:00
Yiyi Shen
bf6e273ccb
[Audiosharing] Update the media device based on assistant callback
...
Bug: 305620450
Test: atest AvailableMediaDeviceGroupControllerTest
Change-Id: I7a19edb4e408c59ead553ec10fd9e963674518a6
2023-12-13 18:16:55 +08:00
Yiyi Shen
a51097d008
Merge "[Audiosharing] Add prefix to device list item text in adapter." into main
2023-12-12 05:36:54 +00:00
Yiyi Shen
f3e693d7a5
Merge "[Audiosharing] Fix test." into main
2023-12-12 05:35:44 +00:00
Yiyi Shen
bdb66db5f3
[Audiosharing] Fix test.
...
https://android-build.corp.google.com/test_investigate/?invocationId=I15800010225964211&testResultId=TR05829086064241708
Test: make RunSettingsRoboTests2 -j40
Bug: 305620450
Change-Id: Ia93cd0dc0c9959d8ab078b29023936b21c7a0e08
2023-12-12 11:44:58 +08:00
Fan Wu
dd61b6bb3d
Merge "Fix BluetoothUpdateWorkerTest." into main
2023-12-12 01:16:22 +00:00
FanWu
e6d648aa40
Fix BluetoothUpdateWorkerTest.
...
Should avoid spying on Android classes due to potential test pollution: https://robolectric.org/best-practices/
Bug: 315399487
Test: atest SettingsRoboTests:com.android.settings.homepage.contextualcards.slices --iterations 20
Change-Id: Ia52baf52bf43d3a3959dc0234fbfc5b4a4575dac
2023-12-11 10:23:09 +00:00
mxyyiyi
a919306d75
Provide foreground_service usage time in BatteryDiffEntry.
...
- Fetch foreground service info through new api from UidBatteryConsumer.
- Record fgs & bg usage time separately, combine them till ui display.
Bug: 315255868
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge.*"
Change-Id: Ic19844db7908a6ae6522c7a72972f44f94dcfca4
2023-12-11 15:57:10 +08:00
Joshua Mccloskey
4ed5548887
Merge "Fixed biometric setting crash." into main
2023-12-08 20:22:59 +00:00
Yiyi Shen
ab3136a51d
[Audiosharing] Add prefix to device list item text in adapter.
...
Bug: 305620450
Test: atest
Change-Id: Icd8f7032d9bcf1be133d6b3f4c165ca98e0dfa60
2023-12-08 17:07:34 +08:00
Yiyi Shen
79028d1c8f
Merge "[Audiosharing] Refine sharing disconnect dialog." into main
2023-12-08 08:24:07 +00:00
Yiyi Shen
90844f3546
Merge "[Audiosharing] Refine sharing stop dialog." into main
2023-12-08 08:23:39 +00:00
Yiyi Shen
f8ccd2bda3
Merge "[Audiosharing] Refine main sharing dialog." into main
2023-12-08 08:13:24 +00:00
Yiyi Shen
4d130705c7
[Audiosharing] Refine sharing stop dialog.
...
Bug: 305620450
Test: atest AudioSharingStopDialogFragmentTest
Change-Id: I1593d1b18af23ffea0ccae0425ad848191b90e8b
2023-12-08 07:17:57 +00:00
Yiyi Shen
13d09c97b2
[Audiosharing] Refine main sharing dialog.
...
Bug: 305620450
Test: atest AudioSharingDialogFragmentTest
Change-Id: Icd9d7524b29bc3a37f27316107176b93510cc12c
2023-12-08 14:54:41 +08:00
Yiyi Shen
16b78546a1
[Audiosharing] Refine sharing disconnect dialog.
...
Bug: 305620450
Test: atest AudioSharingDisconnectDialogFragmentTest
Change-Id: I16507fc5424fcb4bfa977199e92f9728c5df69c6
2023-12-08 14:27:36 +08:00
Yiyi Shen
eeec2a708c
Merge "[Audiosharing] Refine sharing join dialog." into main
2023-12-08 06:19:35 +00:00
Yiyi Shen
fb617e423e
[Audiosharing] Refine sharing join dialog.
...
Bug: 305620450
Test: atest AudioSharingJoinDialogFragmentTest
Change-Id: I54001d254d5cfd0cd72ea1a115d71142b6e6ed47
2023-12-08 13:14:23 +08:00
Treehugger Robot
961f299c4c
Merge "Ignore failing test of BluetoothUpdateWorkerTest" into main
2023-12-08 04:10:14 +00:00
Yanting Yang
033263b858
Ignore failing test of BluetoothUpdateWorkerTest
...
Bug: 315399487
Test: post-submit
Change-Id: I2747b45e60b7aa4d1326e8eb01bc2af8e8666030
2023-12-08 03:11:01 +00:00
Joshua McCloskey
a900c1dd1b
Fixed biometric setting crash.
...
Test: Verified test crashed without fix, and passed with fix
Test: atest FingerprintSettingsFragmentTest
Fixes: 315164185
Change-Id: I1d8ab32eef8578a6d35831aef46275a9732e497c
2023-12-07 22:12:44 +00:00
Manish Singh
62702e3c47
Merge "Make the order of tabs same as profile creation" into main
2023-12-07 13:26:19 +00:00
Yanting Yang
1bae4c830e
Merge "Ignore failing tests of com.android.settings.deviceinfo.batteryinfo" into main
2023-12-07 12:53:04 +00:00
Anubhav Kakkar
86b5a0afc1
Merge "Implement special app access settings for MEDIA_ROUTING_CONTROL app-op." into main
2023-12-07 10:58:40 +00:00
Yanting Yang
5aff1ee1cd
Merge "Revert^2 "Ignore failing test cases in BatterTipsCardPreferenceTest"" into main
2023-12-07 09:12:42 +00:00
Anubhav Kakkar
642bc5a6bc
Implement special app access settings for MEDIA_ROUTING_CONTROL app-op.
...
Bug: b/307632045
Test: Pair a watch with companion app > Settings > Apps > Special app access > enter "Change Media Output" > Find the companion app > Ensure the special app access is Allowed > ensure companion app is able to call remote media routing APIs > come back to the settings > revoke the access > ensure that now companion app is NOT able to call the remote media routing APIs.
Change-Id: I35487660365ef05f3b998e8ecf13aaed7ba844a9
2023-12-07 09:12:08 +00:00
Yanting Yang
53fa7d2891
Ignore failing tests of com.android.settings.deviceinfo.batteryinfo
...
Bug: 315267179
Test: post-submit
Change-Id: Ib209068325e4716026e4a9894f5e79ca15855aea
2023-12-07 09:10:37 +00:00
Fan Wu
22a1d4757a
Revert^2 "Ignore failing test cases in BatterTipsCardPreferenceTest"
...
This reverts commit a8cc8c10de
.
Reason for revert:
These tests are still failing: https://android-build.corp.google.com/test_investigate/?invocationId=I09000010224426738&testResultId=TR72029080085366662
Change-Id: I1ffac500a4dc411aa8ab03ab76b02e217b7d43de
2023-12-07 05:37:57 +00:00
Yanting Yang
432c6e36a6
Merge "Ignore failing tests of AppInfoWithHeaderTest" into main
2023-12-07 03:52:42 +00:00
Yanting Yang
90c953cafd
Merge "Ignore failing tests of com.android.settings.widget" into main
2023-12-07 03:52:37 +00:00
Yanting Yang
f50413d80a
Merge "Ignore failing tests of WifiDialogActivityTest" into main
2023-12-07 03:52:33 +00:00
Treehugger Robot
e836500615
Merge "Ignore failing tests of com.android.settings.wallpaper" into main
2023-12-07 01:45:16 +00:00
Joseph Vincent
85f0c65554
Merge "Show customized message for private space lock setup screen" into main
2023-12-06 23:21:36 +00:00
josephpv
2d7985fbf3
Show customized message for private space lock setup screen
...
go/ss/3kmkEkasv6vmDDo.png
go/ss/7CzzSXZthbJVcEr.png
Bug: 308862923
Test: atest ChooseLockGenericTest and Verified manually customized
message is shown when passed with intent.
Change-Id: I784d42c4702801ec45bc8d4c5e911a404f549d46
2023-12-06 20:39:51 +00:00
Daniel Norman
0fa75c4e41
Merge "Adds a summary to the (screen) Magnification preference for the main A11y Settings page." into main
2023-12-06 20:22:28 +00:00
Daniel Norman
2edaf7668c
Merge changes from topic "b-303511250-cleanup" into main
...
* changes:
Use A11yManagerService to check if the A11yService warning is required.
Minor refactoring to replace duplicated logic with existing methods.
2023-12-06 19:55:21 +00:00
Yanting Yang
29d290b845
Ignore failing tests of AppInfoWithHeaderTest
...
Bug: 315135755
Test: atest
Change-Id: I6bd971cf23692e74eea67b8d57d79099eeb8c452
2023-12-06 15:46:14 +00:00
Yanting Yang
445a8d12db
Ignore failing tests of com.android.settings.widget
...
Bug: 315133235
Test: post-submit
Change-Id: I16c17ff659192c80aa0eb6ee10df82938fa97daf
2023-12-06 15:30:21 +00:00
Yanting Yang
09e32b466b
Ignore failing tests of WifiDialogActivityTest
...
Bug: 314867581
Test: post-submit
Change-Id: Ie0027de0a81e209a6db10a6075a92e680b1c1206
2023-12-06 15:14:02 +00:00
Yanting Yang
82b6f8fd47
Ignore failing tests of com.android.settings.wallpaper
...
Bug: 315124270
Test: post-submit
Change-Id: I5f920798bd0cf5057d9e644aecce11008fb5fbf7
2023-12-06 14:51:54 +00:00