lbill
ee6366761b
3-1/ Impl FoldProvider.FoldCallback for Face enroll activities
...
Create a mechanism to allow OEM config posture guidance with
'config_face_enroll_guidance_page', and customize the config
'config_face_enroll_supported_posture' with standard postures
0 : DEVICE_POSTURE_UNKNOWN
1 : DEVICE_POSTURE_CLOSED
2 : DEVICE_POSTURE_HALF_OPENED
3 : DEVICE_POSTURE_OPENED
4 : DEVICE_POSTURE_FLIPPED
For example, if we set 1 for the device, then device only
allow to enroll face in closed(folded) state, if device do
not in the allow state, we will prompt specific guidance
page activity defined in config_face_enroll_guidance_page.
At this stage , we only integrate 2 states OPENED/CLOSED through
ScreenSizeFoldProvider and register for onFoldUpdated() callback
- isFold(DEVICE_POSTURE_CLOSED): finish posture guidance
- !isFold(DEVICE_POSTURE_OPENED): launch posture guidance
- onActivityResult : reset mOnGuidanceShown false
1. Fix A11y lottie animation bug
2. Impl FoldProvider.FoldCallback
3. Register callback to ScreenSizeFoldProvider
4. Integrate back stack, skip, cancel events
- Back key : RESULT_CANCELED
- Skip btn : RESULT_SKIP
- Posture changed : RESULT_FINISHED
5. Set single instance for relative activities
6. FaceEnrollFoldPage listen for onConfigurationChanged()
7. Add empty face_posture_guidance_lottie.json for overlay
Test: atest SettingsGoogleUnitTests
Test: m -j SettingsGoogleRoboTests RunSettingsGoogleRoboTests
Test: m RunSettingsRoboTests ROBOTEST_FILTER= \
"com.android.settings.biometrics.face.FaceEnrollEducationTest"
Test: m RunSettingsRoboTests ROBOTEST_FILTER= \
"com.android.settings.biometrics.face.FaceEnrollIntroductionTest"
Test: Manual launch security settings face enroll, unfold device
and observe posture guidance showing fullscreen on top
Test: Fold device ensure the posture guidance activity finish
Bug: 261141826
Fixes: 231908496
Change-Id: Ib9f43f82f7d19f3f187c2f6f8984e76cd843afbc
2023-01-06 19:54:03 +00:00
lbill
1eee5eda6c
2-1/ Add config_suw_support_face_enroll to customize SUW face enroll flow
...
1. Add config_suw_support_face_enroll default is TRUE
2. Impl FaceFeatureProvider to obtain the config
3. Overlay config_suw_support_face_enroll by requirements
Test: Flash build and manual check if device go through face enroll in SUW
Bug: 262469686
Change-Id: I61aa5c818bedfb490f2172a7481f59fda7295c1a
2023-01-06 19:29:51 +00:00
Bill Yi
238b7b4620
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2681d8cc05
-s ours am: 2d50872f81
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872949
Change-Id: I9b8199044ea7bc30cc71ceba55113c551b06c972
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 19:05:06 +00:00
Bill Yi
d227fbe832
Merge "Import translations. DO NOT MERGE ANYWHERE"
2023-01-06 18:37:48 +00:00
Bill Yi
2d50872f81
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2681d8cc05
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872949
Change-Id: Ic705dd2a80e2a322142e1e91afa80ef0f00c0383
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 18:30:40 +00:00
Bill Yi
7b9bce321b
[automerger skipped] Merge "Merge TQ1A.230105.002 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master am: 182c397d37
-s ours am: 916adf4270
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20875054
Change-Id: I5f49f80829644f1760aa70cf47e91beb927304cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 12:10:36 +00:00
Bill Yi
75297a152a
[automerger skipped] Merge TQ1A.230105.002 to stage-aosp-master - DO NOT MERGE am: c286104951
-s ours am: 5f3ffc5ec6
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20875054
Change-Id: I1bbce98aff2d31eb9cf7a19f73790c877c11e916
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 12:10:08 +00:00
TreeHugger Robot
7c1efa29cc
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: a0d84081e2
-s ours am: c1ce13f040
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872363
Change-Id: Ic69e4ac289cc3df6e1072770ee5f3ad95ae85097
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:39:52 +00:00
Bill Yi
68a8c8d2c3
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 38268df283
-s ours am: d53751548b
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872363
Change-Id: If72f0f7e9f6eb8f33c839d64d5e8c54f01741ee5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:39:37 +00:00
TreeHugger Robot
024dc88ddc
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 80404721aa
-s ours am: 5291d0476f
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872362
Change-Id: I8e664557a9968208aa6c36ff466a0999737f8f45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:39:22 +00:00
Bill Yi
cec23edebe
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6480a5ff9c
-s ours am: 53f80eb54a
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872362
Change-Id: Iab17c32c513b94691cf22b2d06d812f3058b903d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:39:18 +00:00
Grace Cheng
fb77440a6f
Merge "Updates sfps animations for natural orientation" into tm-qpr-dev am: 28d0e72a6d
am: 305fbd98db
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20860930
Change-Id: Ia3ffc6fadcec112adc45265bb6953881a9b02ca0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:36:09 +00:00
Vania Januar
0bcac61001
Merge "Intent to open USI device details page."
2023-01-06 11:30:53 +00:00
Bill Yi
916adf4270
[automerger skipped] Merge "Merge TQ1A.230105.002 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master am: 182c397d37
-s ours
...
am skip reason: Merged-In I77029014d72b8ac9b579357550f031bef20e32cb with SHA-1 8e2f0b970b
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20875054
Change-Id: I083e54e24f3894ef3d798bfafce6aa0b221091b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 07:33:21 +00:00
Bill Yi
5f3ffc5ec6
[automerger skipped] Merge TQ1A.230105.002 to stage-aosp-master - DO NOT MERGE am: c286104951
-s ours
...
am skip reason: Merged-In I77029014d72b8ac9b579357550f031bef20e32cb with SHA-1 8e2f0b970b
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20875054
Change-Id: Ia8ed6202af921e0e4e4e175da868c7a7ef03fa10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 07:32:54 +00:00
Bill Yi
182c397d37
Merge "Merge TQ1A.230105.002 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master
2023-01-06 07:00:53 +00:00
Jason Hsu
ed2728073f
Merge "Fix preferences under Related category can not launch its own page in bluetooth device details page"
2023-01-06 06:27:03 +00:00
TreeHugger Robot
2462e490ab
Merge "Refine TetherSettings with ViewModel"
2023-01-06 03:38:49 +00:00
Bill Yi
2681d8cc05
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ic8d9f286c53e321a933d98f9c05bbc6bb8bf98f0
2023-01-05 18:07:21 -08:00
TreeHugger Robot
c1ce13f040
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: a0d84081e2
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872363
Change-Id: I3d784788884f9b80733786dc73d9bb62ffef817b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:37:46 +00:00
Bill Yi
d53751548b
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 38268df283
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872363
Change-Id: I9cb72e3462a02722d9f8403bd44d9e19917b5e4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:37:29 +00:00
TreeHugger Robot
5291d0476f
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 80404721aa
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872362
Change-Id: Ia554a744e24581000e42e6db0c57a0510b86fbf4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:37:16 +00:00
Bill Yi
53f80eb54a
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6480a5ff9c
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872362
Change-Id: I145c5cf356be12dcdec6bf677f7f8195cea9b3d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:37:00 +00:00
Grace Cheng
305fbd98db
Merge "Updates sfps animations for natural orientation" into tm-qpr-dev am: 28d0e72a6d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20860930
Change-Id: Id161cb7489bc786288adf6fb578c0ed525264202
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:32:17 +00:00
TreeHugger Robot
a0d84081e2
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2023-01-05 20:13:42 +00:00
TreeHugger Robot
80404721aa
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2023-01-05 20:13:42 +00:00
TreeHugger Robot
d54c9cab7d
Merge "Import translations. DO NOT MERGE ANYWHERE"
2023-01-05 20:06:08 +00:00
TreeHugger Robot
2ff2a828f2
Merge "Import translations. DO NOT MERGE ANYWHERE"
2023-01-05 20:06:08 +00:00
TreeHugger Robot
2d35260ed4
Merge "Import translations. DO NOT MERGE ANYWHERE"
2023-01-05 20:06:08 +00:00
Grace Cheng
28d0e72a6d
Merge "Updates sfps animations for natural orientation" into tm-qpr-dev
2023-01-05 19:57:19 +00:00
Becca Hughes
f31920a613
Merge "Fix bug in credential manager settings (dialogs)"
2023-01-05 18:20:55 +00:00
Vania Januar
c3f6c0d593
Merge "Replace placeholder ROLE_ASSISTANT with ROLE_NOTES."
2023-01-05 14:49:31 +00:00
Tetiana Meronyk
c0e31b3be1
Merge "Allow creating admin users when 'config_enableMultipleAdmins' property is enabled"
2023-01-05 14:30:34 +00:00
Chaohui Wang
4525cfb462
Merge "Remove EXTRA_USER_HANDLE from startSpaActivityForApp"
2023-01-05 11:06:08 +00:00
Chaohui Wang
875cbba0af
Merge "Add spinner options to "All apps""
2023-01-05 11:05:23 +00:00
jasonwshsu
829a671265
Fix preferences under Related category can not launch its own page in bluetooth device details page
...
Root Cause: KeyboardSettingsPreferenceController override
handlePreferenceTreeClick() without checking the preference key, it will lead to handle all preferences' click action.
Solution: Check the preference is the expected preference key
Bug: 264017256
Test: make RunSettingsRoboTests ROBOTEST_FILTER=KeyboardSettingsPreferenceControllerTest
Change-Id: Idcdadc323df5b758b4b21329227e2bb721b1c394
2023-01-05 10:48:55 +00:00
Yilin Cai
181119f0b5
Merge "Add mapping to the WiFi-control SPA page in Settings app."
2023-01-05 10:15:23 +00:00
Weng Su
a396a4d8b9
Refine TetherSettings with ViewModel
...
- Use ViewModel to handle the TetheringManager's lifecycle.
- Use LiveData to observe TetheredInterfaces's changes instead of callbacks.
Bug: 246531382
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=TetherSettingsTest
atest -c TetheringManagerModelTest
Change-Id: Ib1a710a19a5340f63401a37b5c2b0bc307ac82f0
2023-01-05 17:13:57 +08:00
Chaohui Wang
c1f7222273
Merge "Move product specific strings to res-product"
2023-01-05 08:55:25 +00:00
William Escande
377d52bfc1
Merge "Fix NPE in BluetoothPairingController when comparing BluetoothClass" am: 9aa06f28e8
am: ce2edfa3d4
am: 1da99510b1
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2373748
Change-Id: Ib68558e8896e5bd282eacd34f2bc2044bed5f54c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 07:37:29 +00:00
William Escande
1da99510b1
Merge "Fix NPE in BluetoothPairingController when comparing BluetoothClass" am: 9aa06f28e8
am: ce2edfa3d4
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2373748
Change-Id: I3346dba2aa9751bc77c17287dfe5d31759c05607
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 07:02:43 +00:00
Automerger Merge Worker
0b3f453482
Merge changes from topic "am-91f40f2244d9481a9ec129c7853b46c4"
...
* changes:
[automerger skipped] Merge "Revert "Use Mockito 4.6.1 API"" into tm-qpr-dev am: d6a9cba834
-s ours am: 98e202f98f
-s ours
[automerger skipped] Revert "Use Mockito 4.6.1 API" am: 869fd2f33e
-s ours am: d5504ea567
-s ours
2023-01-05 06:34:16 +00:00
Zaiyue Xue
f1fd444c6d
Merge "[Battery usage U] Add an item "Others" in the app list to group small usage apps. This will make the total percetage 100%, which is easy to understand for users."
2023-01-05 06:34:02 +00:00
Karen Lu
06e92c91a7
[automerger skipped] Merge "Revert "Use Mockito 4.6.1 API"" into tm-qpr-dev am: d6a9cba834
-s ours am: 98e202f98f
-s ours
...
am skip reason: Merged-In I2cfda684059520f6ddd1e72c55f1ab1ec9c99e8b with SHA-1 e2b0873f9c
is already in history. Merged-In was found from reverted change.
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20878385
Change-Id: I4d506c77c0cae15ef1ff28f4441b47688896b35f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 06:32:58 +00:00
Karen Lu
d4904264fb
[automerger skipped] Revert "Use Mockito 4.6.1 API" am: 869fd2f33e
-s ours am: d5504ea567
-s ours
...
am skip reason: Merged-In I2cfda684059520f6ddd1e72c55f1ab1ec9c99e8b with SHA-1 e2b0873f9c
is already in history. Merged-In was found from reverted change.
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20878385
Change-Id: If4036793e7c74e759e4ba9b738e9dbdbc9dc36e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 06:32:42 +00:00
William Escande
ce2edfa3d4
Merge "Fix NPE in BluetoothPairingController when comparing BluetoothClass" am: 9aa06f28e8
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2373748
Change-Id: I11c236f3901c9faaeb6c702678d330dde8f07f38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 06:31:44 +00:00
Chaohui Wang
01c31d77e0
Move product specific strings to res-product
...
Product specific strings need to be put in res-product.
Bug: 250807976
Test: Make Settings
Change-Id: I59fe9f54759a518468395ae6e1448c97d952e22d
2023-01-05 14:18:30 +08:00
Yilin Cai
772f3b370b
Add mapping to the WiFi-control SPA page in Settings app.
...
Test: local device + logcat
Bug: 262206181
Change-Id: Iafa2851a5a7c8770fc1b15cdfefaf37a17d55750
2023-01-05 14:18:25 +08:00
William Escande
9aa06f28e8
Merge "Fix NPE in BluetoothPairingController when comparing BluetoothClass"
2023-01-05 05:59:38 +00:00
Karen Lu
98e202f98f
[automerger skipped] Merge "Revert "Use Mockito 4.6.1 API"" into tm-qpr-dev am: d6a9cba834
-s ours
...
am skip reason: Merged-In I2cfda684059520f6ddd1e72c55f1ab1ec9c99e8b with SHA-1 e2b0873f9c
is already in history. Merged-In was found from reverted change.
Reverted change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20749597
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20878385
Change-Id: Ia7bc9e7c7a6b876fa2b7d0fb2dc254c04a755dab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 05:58:09 +00:00