Commit Graph

138018 Commits

Author SHA1 Message Date
Joshua Mccloskey
42efec1a00 Merge "Fix BiometricProvider test" into main 2023-12-05 23:48:06 +00:00
Bill Yi
f07dacd7f4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If70d2c088105c88880860b4283014a43522b2db9
2023-12-05 13:11:59 -08:00
Bill Yi
6e5f68368b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibf2c33df9097c89e03fcf78937ba40b68b3f37ac
2023-12-05 13:10:10 -08:00
Bill Yi
b55b24c10f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8752b5c1c2c98b8bb7033d0c8846f4da70980b34
2023-12-05 13:06:33 -08: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
Yiyi Shen
e3addc563b Merge "[Audiosharing] Dismiss all dialogs before show a new one." into main 2023-12-05 13:02:07 +00:00
Josep del Río
1dde9a3aeb Merge "Sort keyboard layouts" into main 2023-12-05 12:53:20 +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
Josep del Rio
cdc4fb5559 Sort keyboard layouts
At the moment it's not easy to find a layout in the physical
keyboard layout list as they are not sorted; this CL will sort the
keyboard layout list before it is  presented to the user.

Bug: 279281653
Test: Flashed on device, confirmed the layout list is sorted
Change-Id: Ibc7e329190785cce9a8d9c33bc2fcaca6b8c169a
2023-12-05 11:16:04 +00: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
chelseahao
fdf67f0cfe [Audiosharing] Start / stop broadcast scanning.
Bug: 308368124
Test: Manual
Change-Id: I4dfedbd329172c790a901b0eabe5400303395072
2023-12-05 18:39:32 +08:00
Chaohui Wang
4fb845e43b Merge "Use IconDrawableFactory in AppPreferenceRepository" into main 2023-12-05 10:35:15 +00:00
Jakob Schneider
29941919b4 Merge "Fix opening the Settings page from the launcher." into main 2023-12-05 10:20:01 +00:00
Yiyi Shen
517ab6e040 [Audiosharing] Only check the active state of lead device.
Flagged with enable_le_audio_sharing

Bug: 305620450
Test: manual
Change-Id: I5db46fedbb15ac01f9ea70ba83246086241b25dd
2023-12-05 17:58:32 +08:00
Fan Wu
474ba5aaf4 Merge "Ignore failing tests under com.android.settings.wifi" into main 2023-12-05 09:52:12 +00:00
Yiyi Shen
c36fe14ca8 [Audiosharing] Dismiss all dialogs before show a new one.
Flagged with enable_le_audio_sharing

Bug: 305620450
Test: manual
Change-Id: I9c3ed31185814b184c9591103636f495046ecd3c
2023-12-05 17:05:23 +08: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
d3661be0eb [automerger skipped] Check isSimHardwareVisible earlier am: b731e63096 am: 4cccd18ef8 -s ours
am skip reason: Merged-In I07ae9b785d0fbe24a866883080a466a2110ca68f with SHA-1 8b7e6c28bc is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25498055

Change-Id: I7d744ed06ffa927916becaf1644b7248a3c0a7ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-05 07:46:00 +00:00
Chaohui Wang
c2101e312e [automerger skipped] Async load eid in SimEidPreferenceController am: d3cc9b20e4 am: 794f5153ec -s ours
am skip reason: Merged-In I9994abf3787f5db0edc71ff48d08e549a4b70bf7 with SHA-1 b6e44ce818 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25498123

Change-Id: I966516c16dbfd51a149a2e67e6f28b7600249fe3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-05 07:45:52 +00:00
Chaohui Wang
4cccd18ef8 Check isSimHardwareVisible earlier am: b731e63096
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25498055

Change-Id: I19c7182a8207c48f99bc6730a88c10e839b5e6ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-05 07:12:53 +00:00
Chaohui Wang
794f5153ec Async load eid in SimEidPreferenceController am: d3cc9b20e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25498123

Change-Id: I32a34923fdf9943a51bce3571977a328e33b3a97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-05 07:12:45 +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
Yiyi Shen
fe306a7fc2 Merge "[Audiosharing] Fix main sharing flow." into main 2023-12-05 05:09:49 +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
Haijie Hong
5ee4df403d Merge "Add flag to offload bluetooth callback/operations to background thread" into main 2023-12-05 03:24:50 +00:00
Hyundo Moon
1793200795 Merge "Fix failing BluetoothPermissionActivityTest" into main 2023-12-05 02:57:25 +00:00
Yiyi Shen
9f6efc946f Merge "[Audiosharing] Fix volume control." into main 2023-12-05 02:39:37 +00:00
Joseph Vincent
b940da0fcb Merge "Swap orders of GAIA signin and lock setup during Private space setup" into main 2023-12-04 23:19:34 +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
josephpv
fa6ee75c0e Swap orders of GAIA signin and lock setup during Private space setup
Bug: 312892127
Test: Verified manually Lock setup is before GAIA login
Change-Id: I05b7c61306e4988a59511988f88e26cdefbed194
2023-12-04 17:37:09 +00:00
Chaohui Wang
5e85aa3b07 Eagerly load PackageInfo to avoid flaky
Bug: 314562958
Test: manual - All apps > app detail
Change-Id: Ic225818299f5b38e2a94020a04fccc4005f95158
2023-12-04 13:23:50 +00:00
Santiago Seifert
77c2a331fb Merge "Show the output switcher when no media is playing" into main 2023-12-04 12:17:21 +00:00
Yiyi Shen
87e6d6e32c [Audiosharing] Fix main sharing flow.
Fetch the active device before starting the sharing. Because once the
sharing is started, all devices connected will switch to inactive.

Flagged with enable_le_audio_sharing

Bug: 305620450
Test: manual
Change-Id: Ie287d1094fe40dbcb42c121ea79409fc48e0eec7
2023-12-04 18:37:32 +08:00
Yiyi Shen
afbd9d9894 [Audiosharing] Fix volume control.
1. Unregister the volume control callbacks in onDestroy
2. Reuse SeekBarPreference#setProgress
3. Fetch volume from AudioManager if got invalid volume from VC service.

Flagged with enable_le_audio_sharing

Bug: 305620450
Test: manual
Change-Id: Id63d1dbff4c3cbdeb91c2537d951c39e1a932220
2023-12-04 10:16:25 +00:00