Commit Graph

136913 Commits

Author SHA1 Message Date
FanWu
ea43959d8b Fix InstalledAppCounterTest
The root cause is introduced in ag/25089088 which updated the UserManager source

Bug: 293405483

Test: atest
Change-Id: I380e70c8a774e972153a27ca096cd3b7f8236304
2023-11-20 15:48:02 +08:00
Treehugger Robot
510b583637 Merge "Update text shown in Private Space Setup conclusion screen" into main 2023-11-17 18:17:14 +00:00
Treehugger Robot
33f54fe3b0 Merge "Change for localization to increase text size" into main 2023-11-17 17:28:36 +00:00
josephpv
8e132a100d Update text shown in Private Space Setup conclusion screen
Bug: 311259003
Test: Verified correct string is shown in Setup conclusion screen
Change-Id: I8856f1cebefb84d0304881c1a834a30d5f612977
2023-11-17 17:24:18 +00:00
josephpv
d148227382 Change for localization to increase text size
Bug: 309416972
Test: Manual
Change-Id: I501bb38fef02139a62832e0ea36670b933d70c43
2023-11-17 16:00:06 +00:00
Michał Brzeziński
56a751ca44 Merge "Focusing on item highlighted coming from search result" into main 2023-11-17 15:54:12 +00:00
Chaohui Wang
f403dc9c79 Merge "Check isSimHardwareVisible earlier" into main 2023-11-17 10:27:49 +00:00
Yiyi Shen
dd29484481 Merge "[Audiosharing] Impl active device switch for calls and alarms" into main 2023-11-17 09:56:18 +00:00
Joseph Vincent
4a88ae4957 Merge "Add fade out/fade in animation in PS setup auto advancing screen" into main 2023-11-17 09:54:58 +00:00
Chaohui Wang
8b7e6c28bc Check isSimHardwareVisible earlier
In SimEidPreferenceController, to reduce flaky on no SIM devices.

Bug: 304560734
Test: manual - on "About phone / tablet" page
Test: unit test
Change-Id: I07ae9b785d0fbe24a866883080a466a2110ca68f
2023-11-17 07:18:44 +00:00
Wa Gao
f610b1938b Merge "Refactor to use the utils class." into main 2023-11-17 03:29:12 +00:00
Peiyong Lin
3d7afe69b3 [automerger skipped] Merge "Unconditionally enable ANGLE developer option UI." into main am: 4e6db90f5d am: 8600c40211 -s ours am: 65fa36ef25 -s ours
am skip reason: Merged-In I7f491151cc26dc10ccdb2900cfa81ff09c23b184 with SHA-1 8fc1391a75 is already in history

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

Change-Id: I5488eface04f42cd1712de42b177b6e5bc9505ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 03:13:21 +00:00
Peiyong Lin
90bf9809c4 [automerger skipped] Merge "Unconditionally enable ANGLE developer option UI." into main am: 4e6db90f5d am: bcefa0a8c4 am: 4529fbd9c8 -s ours
am skip reason: Merged-In I7f491151cc26dc10ccdb2900cfa81ff09c23b184 with SHA-1 aad20f216d is already in history

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

Change-Id: Ie75bd8b068ff08bdbf48c81bb260ddb98b320908
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 03:12:42 +00:00
Peiyong Lin
65fa36ef25 [automerger skipped] Merge "Unconditionally enable ANGLE developer option UI." into main am: 4e6db90f5d am: 8600c40211 -s ours
am skip reason: Merged-In I7f491151cc26dc10ccdb2900cfa81ff09c23b184 with SHA-1 8fc1391a75 is already in history

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

Change-Id: Iee34b30bb0b9f9496712446b37a6ef4e5996a1be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 02:41:37 +00:00
Peiyong Lin
4529fbd9c8 Merge "Unconditionally enable ANGLE developer option UI." into main am: 4e6db90f5d am: bcefa0a8c4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2798714

Change-Id: Ibf8523b64861a3ad47ae2c1af233774585c1f9c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 02:39:48 +00:00
Peiyong Lin
8600c40211 Merge "Unconditionally enable ANGLE developer option UI." into main am: 4e6db90f5d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2798714

Change-Id: I23c68b9f715479af7a415ede10a2695d3a8c56ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 02:09:19 +00:00
Peiyong Lin
bcefa0a8c4 Merge "Unconditionally enable ANGLE developer option UI." into main am: 4e6db90f5d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2798714

Change-Id: Id58c91947beea82ad02fa2b83e2a536f27dea327
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 02:07:48 +00:00
Peiyong Lin
4e6db90f5d Merge "Unconditionally enable ANGLE developer option UI." into main 2023-11-17 01:45:25 +00:00
Wa Gao
b9835cea12 Refactor to use the utils class.
Bug: 298076922

Change-Id: I0085fdf7594d0ba9243a7b44600252d8c5b21608
2023-11-16 19:46:27 +00:00
josephpv
5dea00c4e7 Add fade out/fade in animation in PS setup auto advancing screen
As per the UX requirement below changes are made in the screen:

- Position of "Setting up Pirvate Space" text is left aligned to layout
- Lading progress bar next to text removed
- Add fade out and fade in animation for header and image in auto
   advance screen

Bug: 310218201
Test: Manual
Change-Id: Iaf9c27761ce7f25368aac8f9a7d43eba20d66353
2023-11-16 19:11:12 +00:00
Michal Brzezinski
ef696934b0 Focusing on item highlighted coming from search result
There are two cases that require different approach:
1. No scrolling or only a bit of scrolling is required to reach desired
   item - then we can focus the item straight away.
2. We're still scrolling when highlighting is started - after
   DELAY_COLLAPSE_DURATION_MILLIS + DELAY_HIGHLIGHT_DURATION_MILLIS.
   Then we need to wait till we reach the element/stop scrolling and focus
   afterwards.

Test: case 1: search for any setting, press enter and see if keyboard is focused
on search result
Test: case 2: search for setting that requires a lot of scrolling, e.g.
"display cutout" and see if it's get the focus after selecting
Fixes: 307902050

Change-Id: Ifa0738748184e78074099e33e09e5d8df198177e
2023-11-16 18:23:58 +00:00
Bill Yi
59709d4031 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2f2335e4e1 -s ours am: 529fb1143a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2174ce5b54f5cb0644d3319dadfccb16157e1123
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 12:56:53 +00:00
Bill Yi
529fb1143a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2f2335e4e1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If6846fbeb441bb3de0954f89689650b4afc146b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 12:41:19 +00:00
Hansen Kurli
2e91e49755 Merge "Use AlertDialog to alert Unsupported VPN type." into main am: 643136bba6 am: 6262b3b67b am: 9481ee51f6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2824760

Change-Id: Idb05db35538f26f14d3bae128115958279ae7ea4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 12:40:14 +00:00
Hansen Kurli
283cf1b75a Merge "Use AlertDialog to alert Unsupported VPN type." into main am: 643136bba6 am: f151e8bdd0 am: 579b7b3457
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2824760

Change-Id: I04e1ac5cd25b39c4b409731607444ccd961d53fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 12:39:33 +00:00
Bill Yi
fc93c90c43 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-16 12:38:28 +00:00
Hansen Kurli
9481ee51f6 Merge "Use AlertDialog to alert Unsupported VPN type." into main am: 643136bba6 am: 6262b3b67b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2824760

Change-Id: Id96daca808a7584f19fb834cadb334343b4f1228
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 12:07:37 +00:00
Hansen Kurli
579b7b3457 Merge "Use AlertDialog to alert Unsupported VPN type." into main am: 643136bba6 am: f151e8bdd0
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2824760

Change-Id: I9547d0f94eea5e872345ca54b34fc58df2529f81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 12:05:49 +00:00
Hansen Kurli
f151e8bdd0 Merge "Use AlertDialog to alert Unsupported VPN type." into main am: 643136bba6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2824760

Change-Id: I741bcfd4484ef711d3190c94c7dd4f2a1c325fed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 11:34:15 +00:00
Hansen Kurli
6262b3b67b Merge "Use AlertDialog to alert Unsupported VPN type." into main am: 643136bba6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2824760

Change-Id: Id5f8aeab1f1605b4660ebaf2a3b6d56442c33868
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 11:34:11 +00:00
Hansen Kurli
643136bba6 Merge "Use AlertDialog to alert Unsupported VPN type." into main 2023-11-16 11:08:33 +00:00
Manish Singh
7f9a319fa9 Merge "Don't add private profile accounts to Personal tab" into main 2023-11-16 09:33:41 +00:00
YK Hung
e43645952f Merge "Update setDenylist() input structure" into main 2023-11-16 08:02:58 +00:00
Bill Yi
44430350fa [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 44068604d0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id28fb1c5ca7b5ad6f699714243dcb3c75a7e20d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 07:31:47 +00:00
Wesley Wang
24278e7a92 Update setDenylist() input structure
- Change the input type from list of String to Integer
 - Update test case

Bug: 306329984
Test: make SettingsRoboTests
Change-Id: I018ef49523810577b17375628e45c24270a3bdf4
2023-11-16 07:07:52 +00:00
Yiyi Shen
d1f0efc282 [Audiosharing] Impl active device switch for calls and alarms
Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: Id1e417cd1ae48bbb4ddebb4b30e2001e18bef7ee
2023-11-16 06:03:03 +00:00
Chaohui Wang
1a2bf18eae Merge "Fix restriction to configure Calls & SMS" into main 2023-11-16 03:32:37 +00:00
Yuanru Qian
97cf66efe4 Merge "Fix a CHAR LIMIT mistake for a BT message as requested by linguists" into main 2023-11-16 03:27:13 +00:00
Chun-Ku Lin
e0852d25f7 Merge "Don't show quick settings tooltip if the user is in the Setup Wizard, since the user can't access the Quick Settings Panel." into main 2023-11-16 03:03:57 +00:00
Wa Gao
3185a36b90 Update the unit test and add key to fragment.
Bug: 298076922
Change-Id: I8ed880c4f81bd76adc27af9bc3ba66f0b4697f74
2023-11-15 23:44:11 +00:00
Peiyong Lin
8fc1391a75 Unconditionally enable ANGLE developer option UI.
Bug: b/283781993
Test: atest CtsAngleIntegrationHostTestCases -c
Test: atest SettingsRoboTests:GraphicsDriverEnableAngleAsSystemDriverControllerTest
Change-Id: I7f491151cc26dc10ccdb2900cfa81ff09c23b184
Merged-In: I7f491151cc26dc10ccdb2900cfa81ff09c23b184
2023-11-15 18:16:46 +00:00
Yiyi Shen
c03d4e7952 Merge "[Audiosharing] Add a util class for audio sharing." into main 2023-11-15 15:00:52 +00:00
Manish Singh
9e0437bc5b Don't add private profile accounts to Personal tab
If there are no tabs to show then the single Passwords & accounts page
shows all the profiles under the corresponding headings.
No tabs are shown only when the PS is locked and there's no work
profile. And if PS is locked then we don't want to show any PS setting.
On the other hand if PS is not locked then we'll have tabs.

Bug: 309423484
Test: manual
Change-Id: Iebc62fbc4caf21988af6aa1af4fbd570f4c80ada
2023-11-15 13:58:57 +00:00
Manish Singh
aa91f1db3a Merge "Reset Private Space settings on new space creation" into main 2023-11-15 13:55:12 +00:00
Manish Singh
7a556b851c Reset Private Space settings on new space creation
Also added PrivateSpaceMaintainerTest

Bug: 310217645
Test: atest PrivateSpaceMaintainerTest
Test: atest HidePrivateSpaceControllerTest
Test: manual
Change-Id: Ic1096fd652d23ae6aa9da1421017c08f6bc480aa
2023-11-15 12:54:20 +00:00
Wesley Wang
2dec2b2785 Merge "Apply dynamic deny list into data usage state" into main 2023-11-15 12:53:25 +00:00
Jigar Thakkar
093cde0538 Merge "Enable auth check for profiles with shared credentials" into main 2023-11-15 12:41:14 +00:00
Yiyi Shen
83798bfbc5 [Audiosharing] Add a util class for audio sharing.
Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: Iea5d4faa83eeef2d7104b9c31679e9226b75f4a6
2023-11-15 11:22:41 +00:00
Treehugger Robot
ef46750399 Merge "Settings: remove multiple users search when multi-user not supported" into main am: 5a9826b844 am: 1fc8f8aa6f am: 0fe8889f3e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2827270

Change-Id: I7e3e8a858f6ab6d1845280b18f48a4e4b075af52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 11:18:23 +00:00
Treehugger Robot
af25484200 Merge "Settings: remove multiple users search when multi-user not supported" into main am: 5a9826b844 am: 202b3b147b am: 12d5f62933
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2827270

Change-Id: Ica69ec04685462749e97c2afde61d307dd4564b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 11:17:32 +00:00