Commit Graph

137506 Commits

Author SHA1 Message Date
josephpv
92f28a17c8 Add intent to start Private Space setup/settings
Bug: 310027945
Test: Manual
Change-Id: I9df2b239ba24ac44c65a4cb3c18214bbc27bbcec
2023-12-13 18:27:19 +00:00
Treehugger Robot
bd0eb0dd31 Merge "Lock Private space at the end of PS setup." into main 2023-12-11 22:05:12 +00:00
Joshua Mccloskey
d1f24c845c Merge "Adding screenshot tests to postsubmit." into main 2023-12-11 21:43:07 +00:00
Jeremy Meyer
44a3e096fd Merge "Put grammatical gender developer option behind flag" into main 2023-12-11 21:00:07 +00:00
josephpv
242ae4fbcc Lock Private space at the end of PS setup.
This change is to call UserManager requestQuietModeEnabled() API at the
end of PS setup to enable quitemode for private space.

Bug: 313652502
Test: atest PrivateSpaceMaintainerTest
Verify Private space is locked state after private space setup completion.

Change-Id: I1d863f6d51ffa4bb58318696603905d35c3109b6
2023-12-11 20:43:59 +00:00
Joshua McCloskey
ade491b466 Adding screenshot tests to postsubmit.
Test: atest --host :postsubmit
Bug: 314807258
Change-Id: I7c593520369f308b5678554f4ea0afe335698a96
2023-12-11 20:37:04 +00:00
Joshua Mccloskey
9a0db2d6e5 Merge "Change screenshot test to use RNG" into main 2023-12-11 20:33:48 +00:00
Joshua McCloskey
f055c2e374 Change screenshot test to use RNG
Test: atest -c SettingsScreenshotRNGTests
 -- --test-arg
 com.android.tradefed.testtype.IsolatedHostTest:java-flags:
 -Drobolectric.graphicsMode=NATIVE
Fixes: 314807258
Change-Id: I4fa533c19d0b1386a7a4649ed88e3814816c1899
2023-12-11 19:14:32 +00:00
Johannes Gallmann
e615b8fca4 Merge "Add predictive back aconfig flag" into main 2023-12-11 13:19:25 +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
SongFerng Wang
dd2cc366a6 Merge "Add condition whether esim is visible or not" into main 2023-12-11 05:52:47 +00:00
Chaohui Wang
64bfa1cb53 Merge "Add HideNonSystemOverlayMixin for SpaActivity" into main 2023-12-11 03:31:56 +00:00
SongFerngWang
ec27c60461 Add condition whether esim is visible or not
Bug: 314736037
Test: SubscriptionInfoListViewModelTest pass and build pass
Change-Id: I7dc86ca93691f044d951122c0c669c790b7aef98
2023-12-11 05:47:49 +08:00
Jean Chen
013626ebff Merge "feat(MultiFingerMultiTap): Update shortcut string to double tap from triple tap" into main 2023-12-09 05:04:34 +00:00
Joshua Mccloskey
4ed5548887 Merge "Fixed biometric setting crash." into main 2023-12-08 20:22:59 +00:00
Chaohui Wang
c69eb48807 Add HideNonSystemOverlayMixin for SpaActivity
Fix: 315473158
Test: manual - try overlay on SpaActivity
Change-Id: I67f30f6aa0adb22f891683a6d603fb6cb146b4f1
2023-12-09 00:08:17 +08:00
Johannes Gallmann
af96028267 Add predictive back aconfig flag
Bug: 309545085
Flag: ACONFIG com.android.window.flags.predictive_back_system_animations DISABLED
Test: atest BackAnimationPreferenceControllerTest; Manual, i.e. building and verifying correct behaviour for different flag configurations
Change-Id: I3f478dc23bbfeb1f13cae64f3d04b3210841731d
2023-12-08 13:37:25 +00:00
Anubhav Kakkar
6bc92efaae Merge "Add activity to handle app specific request to open media routing controll special" into main 2023-12-08 12:35:27 +00:00
Mark Kim
d17b1a3816 Merge "Add 'Archive' button to AppInfo screen" into main 2023-12-08 10:25:58 +00:00
Chelsea Hao
920037db83 Merge "[Audiosharing] Implement add source by qrcode scan" into main 2023-12-08 09:43:39 +00:00
Anubhav Kakkar
e79fcbef78 Add activity to handle app specific request to open media routing controll special
Bug: 313775893
Test: Trigger the intent with action "android.settings.REQUEST_MEDIA_ROUTING_CONTROL" and package name in the data uri
Change-Id: If65ea61a058b465dc44836eff9c7d3fb25425ec4
2023-12-08 08:52:44 +00:00
Xin Li
af57916bb1 [automerger skipped] Merge UQ1A.231205.015 am: 4f1ec8cb8a -s ours am: e72aefc106 -s ours
am skip reason: Merged-In I5d9d1d30d280311875d8bd8604aed0fd0c08ab2c with SHA-1 fdf80bd5c9 is already in history

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

Change-Id: Id02614b3bfb1fb9d42ab5279c3a4611f62fe30c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 08:51:06 +00: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
Xin Li
e72aefc106 [automerger skipped] Merge UQ1A.231205.015 am: 4f1ec8cb8a -s ours
am skip reason: Merged-In I5d9d1d30d280311875d8bd8604aed0fd0c08ab2c with SHA-1 fdf80bd5c9 is already in history

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

Change-Id: I8326d3adfea2de2f71271b65f4673bf9dc251125
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 08:21:19 +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
Milton Wu
eacde88922 Merge "Refine UdfpsEnrollCalibration" into main 2023-12-08 05:41:44 +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
Chaohui Wang
5e3472b5c0 Merge "Fix flaky of AppInstallerInfoPreferenceTest" into main 2023-12-08 05:03:48 +00:00
Charlotte Lu
18808379ed Merge "Telephony Issue: Apn config mmsc should start with http but is 啊." into main 2023-12-08 04:31:07 +00:00
chelseahao
541dac155a [Audiosharing] Implement add source by qrcode scan
Bug: 305620450
Test: manual
Change-Id: If09522b515649621000208285340736abba04b4d
2023-12-08 04:25:04 +00: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
Chelsea Hao
96e7c8fb96 Merge "[Audiosharing] Implement source add and remove." into main 2023-12-08 03:05:44 +00:00
Jean Chen
097d8a891b feat(MultiFingerMultiTap): Update shortcut string to double tap from triple tap
Bug: 315264770
Test: manual
Change-Id: I1130271d06bac71f23a137c83149ee3363a1cc0e
2023-12-08 10:12:43 +08:00
Xin Li
4f1ec8cb8a Merge UQ1A.231205.015
Bug: 308969284
Merged-In: I5d9d1d30d280311875d8bd8604aed0fd0c08ab2c
Change-Id: I22fa193e9846fdb998810c93c9c26344a40d89a9
2023-12-07 15:48:03 -08:00
Hani Kazmi
14f38ba36c Merge "Update Special App Access Compose Components for ECM" into main 2023-12-07 23:35:26 +00:00
Joseph Vincent
e6b9290a0e Merge "Update private space setup string and loading screen title" into main 2023-12-07 22:16:19 +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
Mark Kim
63f48ad2c6 Add 'Archive' button to AppInfo screen
Disable 'Archive' button whenever 'Uninstall' button is disabled.

Test: AppArchiveButtonTest, AppButtonsTest

Bug: 304256700
Change-Id: I9671905eca2cb71a5bf30bf29be83e5305a48ef4
2023-12-07 20:21:40 +00:00
Hani Kazmi
291e6043bf Update Special App Access Compose Components for ECM
This is the first in a series of changes to wire up all app settings to
be ECM restrictable. We introduce a new method in
RestrictedLockUtilsInternal which determines whether or not a setting is
restricted based on a passed in key. It currently duplicates the current
implementation, but will eventually be replaced by a call to permissions
mainline.

The settings under SpaPrivileged are then updated to have a new
BlockedByEcm which is decided by the RestrictedLockUtilsInternal call.

Bug: 297372999
Test: Manually tested on device. Automaated tests to follow
Change-Id: Ic295bdb41270b0f18f2ba3dffdffc062d532cabe
2023-12-07 15:59:52 +00:00
Chaohui Wang
176a5727ff Fix flaky of AppInstallerInfoPreferenceTest
Bug: 288353352
Test: unit test
Change-Id: Iaf500bd9f3428914d5a35d69f1bf4f3a57d511b4
2023-12-07 14:15:21 +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
josephpv
992f6b97dd Update private space setup string and loading screen title
This includes below changes based on the updated UX mocks:
- Add one more loading screen in setup flow
- Update feature intro text on Setup page
- To swap order of bullets on the setup intro screen
- Update "Private Space" to "private space" in setup flow screens

go/ss/7pVGBSPqezDek47.png
go/ss/ADLX8aXAAGgYQHD.png
go/ss/tYtrGypBgRuXM9V.png
go/ss/3zZfij6JDpudwYR.png
go/ss/BFtWegFZyTueQoT.png
Recording link - b/313654776#comment5

Bug: 313654776, 313882412, 313655290
Test: Verify title and text is same as UX flow
Change-Id: I6a985c4fd6ecbe8ddd11e36bf76a2a9cc8427ef5
2023-12-07 12:39:56 +00:00
chelseahao
b5cc84af39 [Audiosharing] Implement source add and remove.
Bug: 305620450
Test: manual
Change-Id: I0fdae9823f8673180755eb895ee3a664b2978328
2023-12-07 20:19:02 +08:00