Commit Graph

21078 Commits

Author SHA1 Message Date
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
Yiyi Shen
212c2b4724 Merge "[Audiosharing] Update media devices section." into main 2023-12-06 12:03:06 +00:00
Yiyi Shen
22e3f51784 [Audiosharing] Update media devices section.
1. Filter out the media devices in audio sharing from the section.
2. During the audio sharing, click the media device will lead to
   stopping the sharing.

Flagged with enable_le_audio_sharing

Bug: 305620450
Test: atest AvailableMediaBluetoothDeviceUpdaterTest.java
Change-Id: I0676fd5aa98e593c6a5458845fc1b1631a5a6698
2023-12-06 18:25:09 +08:00
Chaohui Wang
b0cf27abbd Update the App Info Settings when package archived
Listen to the following actions,
- Intent.ACTION_PACKAGE_CHANGED for App enabled / disabled
- Intent.ACTION_PACKAGE_REMOVED for App archived
- Intent.ACTION_PACKAGE_REPLACED for App updated
                                     App updates are uninstalled
- Intent.ACTION_PACKAGE_RESTARTED for App force-stopped

Also,
- Prevent AppInfoSettings flaky, by moving package info null into
  RegularScaffold.
- Offload uninstallButton's enabled from main thread.

Bug: 314562958
Test: manual - All apps > app detail
Change-Id: Iaf210eb9e9b4ace1aa9079cdbb2d7430de4dd75f
2023-12-06 15:31:14 +08:00
Fan Wu
7e34691917 Merge "Revert "Add "test_suites" attribute to SettingsRoboTests."" into main 2023-12-06 01:35:26 +00:00
Daniel Norman
01e624c76b Adds a summary to the (screen) Magnification preference for the main A11y Settings page.
This helps differentiate this from other magnification tools.

Reuses (and slightly modifies) the `magnification_feature_summary`
string which was not used by any existing code. This helps ensure
the existing localizations should be close enough, until L10n
translators have time to update based on the new shorter version.

Bug: 303499185
Test: ToggleScreenMagnificationPreferenceFragmentTest
Test: Open Settings > Accessibility, observe summary
Change-Id: If5ee4f937bbd655b425d4767ad8bbcef08dbe345
2023-12-06 01:10:52 +00:00
Joshua Mccloskey
42efec1a00 Merge "Fix BiometricProvider test" into main 2023-12-05 23:48:06 +00:00
Tyler Freeman
3fddb64a0d Merge "feat(force invert): add force invert Settings preference in A11y > Color and Motion" into main 2023-12-05 20:36:36 +00:00
Yanting Yang
210d884fb5 Merge "Ignore failing test of FactoryResetPreferenceControllerTest" into main 2023-12-05 13:17:07 +00:00
Yanting Yang
3c23c38c2a Merge "Ignore failing test of BootBroadcastReceiverTest" into main 2023-12-05 13:06:27 +00:00
Yanting Yang
8719af8a95 Merge "Ignore failing test of SurveyMixinTest" into main 2023-12-05 12:45:45 +00:00
Yanting Yang
5cdbb5ee4e Merge "Ignore failing test of SupportDashboardActivityTest" into main 2023-12-05 12:39:04 +00:00
Yanting Yang
038915fa3b Merge "Ignore failing test of SettingsSliceProviderTest" into main 2023-12-05 12:38:26 +00:00
Yanting Yang
cdbd4d77fd Merge "Ignore failing tests of CreateShortcutPreferenceControllerTest" into main 2023-12-05 12:21:33 +00:00
Yanting Yang
a7573a1f5e Ignore failing test of FactoryResetPreferenceControllerTest
Bug: 314930928
Test: atest
Change-Id: I0d5d88754ec8dcd9ee3dc05020382a2095c4256b
2023-12-05 20:04:36 +08:00
Yanting Yang
dddfdee3c5 Ignore failing test of SurveyMixinTest
Bug: 314929422
Test: atest
Change-Id: Ib53047b6e2eb55af566140af2de9f5ca022b203b
2023-12-05 19:52:34 +08:00
Yanting Yang
f4af833f53 Merge "Ignore failing test of SelectDebugAppPreferenceControllerTest" into main 2023-12-05 11:42:05 +00:00
Yanting Yang
37a8625d47 Ignore failing test of SupportDashboardActivityTest
Bug: 314927625
Test: atest
Change-Id: I17d1a9304d21b3eec9ddc53663b9e6d8e1b0ff74
2023-12-05 19:39:48 +08:00
Yanting Yang
04e7423c7d Ignore failing test of SettingsSliceProviderTest
Bug: 314925256
Test: atest
Change-Id: Ifd72e07be6b5484b26b6918cb5d4b6c56575e2d9
2023-12-05 19:31:15 +08:00
Yanting Yang
85f09b65e5 Ignore failing tests of CreateShortcutPreferenceControllerTest
Bug: 314924127
Test: atest
Change-Id: I414e4cebec2a1b44bddd8c1286d766777aeb28c1
2023-12-05 19:21:58 +08:00
Yanting Yang
312a3679ab Ignore failing test of BootBroadcastReceiverTest
Bug: 314921894
Test: atest
Change-Id: Iae94522dd629bc46bf7f7815c28362c833086adb
2023-12-05 19:01:08 +08:00
Yanting Yang
9da3e1456a Ignore failing test of SelectDebugAppPreferenceControllerTest
Bug: 314919354
Test: atest
Change-Id: I38cc7bdb5645f2846078c57383548748ac2f4b4b
2023-12-05 18:47:15 +08:00
Chaohui Wang
4fb845e43b Merge "Use IconDrawableFactory in AppPreferenceRepository" into main 2023-12-05 10:35:15 +00:00
Fan Wu
474ba5aaf4 Merge "Ignore failing tests under com.android.settings.wifi" into main 2023-12-05 09:52:12 +00:00
Fan Wu
0f3e902205 Revert "Add "test_suites" attribute to SettingsRoboTests."
This reverts commit 8731857550.

Reason for revert: Robolectric tests aren't supported in TEST_MAPPING, so no need to follow the guide.

Change-Id: Id8b1a82a26cf390f6f1088a7fcf54287e73af6b5
2023-12-05 07:55:50 +00:00
Chaohui Wang
015a98ac38 Use IconDrawableFactory in AppPreferenceRepository
Bug: 314757827
Test: manual - on AppDataUsage
Test: unit test
Change-Id: Ica559ce044ebddfa8bc3ce994f9266ea1aabbe84
2023-12-05 14:56:47 +08:00
Chaohui Wang
bbbd0e640a Merge "Clean up BackupSettingsHelper.getSummary()" into main 2023-12-05 06:42:54 +00:00
Chaohui Wang
5809706f4e Merge "Let SpaBridgeActivity support HIGHLIGHT_MENU_KEY" into main 2023-12-05 06:23:57 +00:00
FanWu
1bb01ff055 Ignore failing tests under com.android.settings.wifi
Bug: 314867581

Test: not needed
Change-Id: Id721c8a91baa54c746aba007dd40a086276953e8
2023-12-05 12:01:30 +08:00
Chaohui Wang
6adf1bad31 Let SpaBridgeActivity support HIGHLIGHT_MENU_KEY
Also the SpaAppBridgeActivity.

Could be tested by,
adb shell am start -n com.android.settings/.ManageFullScreenIntent

adb shell am start \
  -a android.settings.MANAGE_APP_USE_FULL_SCREEN_INTENT \
  -d package:com.android.settings

adb shell am start -n com.android.settings/.UsageStatsActivity

Bug: 309075424
Test: manual - on tablet
Test: unit test
Change-Id: I778443e9d21d165904e415c66c03aafc7ac81372
2023-12-05 11:43:31 +08:00
Vlad Popa
e71281cfc7 Merge "Disable the Bt categorization list when audio type is known" into main 2023-12-05 03:33:36 +00:00
Hyundo Moon
1793200795 Merge "Fix failing BluetoothPermissionActivityTest" into main 2023-12-05 02:57:25 +00:00
Tyler Freeman
e0f10d3fe2 feat(force invert): add force invert Settings preference in A11y > Color and Motion
Bug: 312289375
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ColorAndMotionFragmentTest.java
  && atest packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ToggleForceInvertPreferenceControllerTest.java
Flag: android.view.accessibility.Flags.forceInvertColor

Change-Id: I2739a1dfecbbddcd240a3113344987ade2b7c717
2023-12-04 14:12:43 -08:00
Santiago Seifert
77c2a331fb Merge "Show the output switcher when no media is playing" into main 2023-12-04 12:17:21 +00:00
Fan Wu
6e3bf1ee10 Merge "Add "test_suites" attribute to SettingsRoboTests." into main 2023-12-04 09:56:24 +00:00
FanWu
8731857550 Add "test_suites" attribute to SettingsRoboTests.
Reference: https://source.android.com/compatibility/tests/development/test-mapping#packaging_build_script_rules

Bug: 312571846

Test: config change
Change-Id: I8a3e99a59309f1f63294e0ff88fb0536164c1cd1
2023-12-04 09:00:50 +00:00
Jasmine Cha
9e45469833 Show the output switcher when no media is playing
- Support output switcher for system routing.
- Add an new string to indicate the device that
  audio will output to.

Bug: 284227163
Test: device/host atest
 atest MediaOutputPreferenceControllerTest
 atest AudioOutputSwitchPreferenceControllerTest
 atest MediaOutputIndicatorSliceTest

Change-Id: I94bcf84e7e93b3e4f5db1d95d5380a54a3e0c460
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-04 08:19:05 +00:00
Hyundo Moon
b571a9768f Fix failing BluetoothPermissionActivityTest
Bug: 314052293
Test: atest SettingsRoboTests:com.android.settings.bluetooth.BluetoothPermissionActivityTest
Change-Id: Ic62fa4f21a49f865ff713fcf4dea635179441a99
2023-12-04 12:37:18 +09:00
Chaohui Wang
de3fe3744f Refresh the App Info Settings
When apk upgraded or downgraded.

And only close the page when the package is fully removed.

Bug: 314562958
Test: manual - on App Info Settings
Test: unit test
Change-Id: Ifdff714da99e31f9c5f237a0c3342de7a0797ec4
2023-12-04 01:43:11 +00:00
Wa Gao
7954bb5ba7 Merge "Add dialog for top switch on fully managed devices." into main 2023-12-02 02:03:55 +00:00