Sunny Shao
19d1d3d15d
Revert "Nullability Annotations replacement"
...
This reverts commit cf0501e4d7 .
Reason for revert: b/317462033, it seems a flaky but revert it first.
Change-Id: Ie1d5e279cca6477fc17d8c27c1ecda8d7a6b2553
2023-12-29 02:28:24 +00:00
sunnyshao
cf0501e4d7
Nullability Annotations replacement
...
-- Replace the android.annotation.Nullable / android.annotation.NonNull
with androidx.annotation.Nullable / androidx.annotation.NonNull
Bug: 316867690
Test: build pass
Change-Id: I0c1da55dfb09ece855151c47e0492d6f46538621
2023-12-20 08:50:09 +08:00
josephpv
0b7d46746c
Add Biometrics settings inside private space One Lock settings
...
This includes below changes:
- Add Biometrics preferernce in Private Space One Lock settings page
- Face and Fingerprint enrolment for Private profile
- Feature is behind flag android.multiuser.enable_biometrics_to_unlock_private_space
Screenshots:
go/ss/9cWZRAuvGGW7gMm.png
go/ss/B3NoFbL3KbpSzeN.png
go/ss/7xH3DLi9d6Lu2mR.png
go/ss/8WBEgKychWpduXg.png
go/ss/8pmPGshd9aiPvVC.png
go/ss/AFPBPbiaBBvTj3p.png
go/ss/3fE4XKLLUdP8LmF.png
Bug: 308862923
Test: atest CombinedBiometricStatusUtilsTest, atest FaceFingerprintUnlockControllerTest
Change-Id: I1853107a4df4fc97db53c97524c6d44a4f554e37
2023-12-19 18:57:10 +00:00
Wu Ahan
1ab510bc3c
Merge "Update help animation per new spec" into main
2023-12-18 05:14:57 +00:00
MiltonWu
2feaa3fa25
Refine calibrator usage
...
Bug: 316103317
Test: Manually run the scenario
Change-Id: If57396696b6a7d10e289ab0f2e7b14148034d34b
2023-12-13 10:16:47 +00:00
Wu Ahan
740d345fb2
Update help animation per new spec
...
Bug: 288155127
Bug: 305834550
Test: manually
Change-Id: I0731d65bbcbefa30c25b53e625d07b4e5771c78d
2023-12-11 14:22:12 +00:00
Joshua Mccloskey
4ed5548887
Merge "Fixed biometric setting crash." into main
2023-12-08 20:22:59 +00:00
Milton Wu
eacde88922
Merge "Refine UdfpsEnrollCalibration" into main
2023-12-08 05:41:44 +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
Derek Jedral
db72f4ea5f
Merge "Update strings for Watch Unlock" into main
2023-11-30 05:23:33 +00:00
MiltonWu
07361691cd
Refine UdfpsEnrollCalibration
...
Remove most implementation from Settings
Test: FingerprintEnrollIntroductionTest FingerprintEnrollFindSensorTest
Bug: 301226085
Change-Id: Ib3438c740919f38f3d2f86d508fcd20bef522023
2023-11-30 03:29:57 +00:00
Derek Jedral
2c4f5454f1
Update strings for Watch Unlock
...
Test: Built locally
Bug: 294281617
Change-Id: I01493060d5ea1b1941b1fb381d0c90cd4ce2ee78
2023-11-29 01:21:09 +00:00
Joshua McCloskey
a16a36c911
Ensure udfps icon doesnt disappear in enroll
...
Test: Manual
Fixes: 306280706
Change-Id: I7fd41d53b891fcfd2140ad1e2b1376ee4c017591
2023-11-28 22:06:16 +00:00
Joshua Mccloskey
4c43b094d9
Merge "Adding back screenshot test to Settings." into main
2023-11-09 23:27:56 +00:00
Hao Dong
9cade2cbc0
Merge "Add fingerprint name to delete button content description." into main
2023-11-09 19:45:10 +00:00
Hao Dong
f2d2de494d
Add fingerprint name to delete button content description.
...
Test: atest FingerprintPreferenceTest
Bug: 308671557
Change-Id: I5a7d402835124a50fd1268745eca1e28c865dc18
2023-11-09 17:14:42 +00:00
Treehugger Robot
96718215a2
Merge "Refine FaceEnrollEducation UI" into main
2023-11-09 05:01:47 +00:00
MiltonWu
96591ed001
Refine FaceEnrollEducation UI
...
Update switch button style and adjust the margin for head motion swith
button on the end of FaceEnrollEducation page
Bug: 293274664
Test: Manually check UI
Change-Id: Ifff42364c75bc7c0a83a0211743dcd1e50f04aac
2023-11-08 16:10:53 +08:00
Joshua Mccloskey
114fabf79d
Adding back screenshot test to Settings.
...
Test: atest SettingsScreenshotTests
Fixes: 307356833
Change-Id: I80b32cd40155d56e38d41d5f6d52e4c5d5ef715c
2023-11-06 19:40:58 +00:00
MiltonWu
f1bf44392a
Scroll-down after click accessiblity button
...
On FaceEnrollEducation page, scroll-down when user click "Setup for
limited vision or head motion button"
Test: SettingsRoboTest FaceEnrollEducationTest
Bug: 309368020
Change-Id: Ifc07337dd8af6f67412de6e7503fc4bc221fb068
2023-11-06 17:40:03 +08:00
Joshua Mccloskey
ff69c0ca2d
Merge "Rear Fingerprint Enrollment" into main
2023-11-01 21:10:47 +00:00
Joshua Mccloskey
b491513ddb
Merge "Fixed search index for fingerprint settings." into main
2023-10-31 17:05:36 +00:00
Joshua McCloskey
a98dc8d4b5
Rear Fingerprint Enrollment
...
Bug: 297083009
Test: atest RFPSIconTouchViewModelTest FingerprintEnrollEnrollingViewModelTest FingerprintManagerInteractorTest
Change-Id: Icc072e7d7815070087ccb50ea5937c386b06fb11
2023-10-30 22:18:56 +00:00
Joshua McCloskey
abaa6b5d9a
Fixed search index for fingerprint settings.
...
Test: Manually verified add-fingerprint works.
Fixes: 306516371
Change-Id: I9fea695210dfeaee5abedce8c2086c553bd54f9c
2023-10-25 18:59:03 +00:00
Chaohui Wang
c4a3a50d58
Migrate to CompoundButton
...
Switch and SwitchCompat are both CompoundButton.
Using CompoundButton in Java will helps migration in the future.
Bug: 306658427
Test: manual - on affected pages
Change-Id: I7cdc2601879a85d33f77239e38263320d5a6984e
2023-10-25 14:57:48 +08:00
Joshua McCloskey
7526b9259e
Created biometric provider.
...
Test: Manually verified data was fetched successfully.
Test: adb shell device_config put biometrics_framework
com.android.settings.flags.biometric_settings_provider true
Test: atest BiometricSettingsProviderTest
Bug: 303595205
Change-Id: I154754eed7c36d659853ed83cc18a2e446fb7678
2023-10-23 18:50:58 +00:00
Chaohui Wang
15ca95a31b
Migrate to TwoStatePreference
...
SwitchPreference and SwitchPreferenceCompat are both TwoStatePreference.
Using TwoStatePreference in Java will helps migration in the future.
Bug: 306771414
Test: manual - check Settings pages
Change-Id: I84e1d7b09451106797c2b23d127855c6976678ca
2023-10-23 09:28:57 +00:00
Anthony Zhang
17a04a246f
Merge "Add pace for UdfpsEnrollHelper" into udc-qpr-dev am: c9606ad732 am: 8155c507f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24755290
Change-Id: I7485782ee1b939e12f2c4f87fd1a8405227dd182
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-20 21:21:23 +00:00
Anthony Zhang
8155c507f2
Merge "Add pace for UdfpsEnrollHelper" into udc-qpr-dev am: c9606ad732
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24755290
Change-Id: I5d7c5820749057aeecee9c21eb62f8c6d480ce5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-20 20:59:55 +00:00
Sebastian Pickl
1d7e0057f7
Merge "Revert "Adding screenshot tests to settings"" into main
2023-10-18 10:20:42 +00:00
Sebastian Pickl
edbeacce4a
Revert "Adding screenshot tests to settings"
...
This reverts commit cdc3bf0d00 .
Reason for revert: possibly breaking builds b/305851039
Bug: 305851039
Change-Id: I1a67323b3617700707d5b677bb6102b0bf396c4a
2023-10-18 08:48:14 +00:00
MiltonWu
3550029297
fingerprint pre-enroll calibration
...
Add calibration interface and dialog
Test: Manually doing enrollment without any exception
Bug: 301226085
Change-Id: Ibe0d205e87f75bb1d5bd1c646deb8501d96a4a5a
2023-10-18 04:25:14 +00:00
Wu Ahan
daa7f4f3cd
Merge "Reland sfps enroll improvement feature with feature provider" into main
2023-10-18 01:48:38 +00:00
Bill Lin
65b2bc3b97
Merge "Fix FingerprintFindSensor header title truncate" into main
2023-10-18 00:28:52 +00:00
Joshua Mccloskey
91db1f1a7c
Merge "Adding screenshot tests to settings" into main
2023-10-17 15:01:57 +00:00
lbill
40dcd5c14f
Fix FingerprintFindSensor header title truncate
...
setHyphenationFrequency(HYPHENATION_FREQUENCY_NORMAL) for
header TextView to avoid truncate.
Bug: 298978826
Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER= \
SetupFingerprintEnrollFindSensorTest
Change-Id: I604e736661283ff3e8230d200cb0cb07adf29f56
2023-10-17 06:31:05 +00:00
Wu Ahan
667341c343
Reland sfps enroll improvement feature with feature provider
...
Prior cl, ag/24720067, was reverted due to platinum failed,
this cl fixes the fails (NPE on UDFPS).
Bug: 288155127
Bug: 305132251
Test: Manually check on Lynx and Felix
Test: atest BiometricsE2eTests:FingerprintEnrollSuccessTest
Test: abtd for platinum, see b/305048300#comment14
Change-Id: I90f4ea14853edf03abd8ffe0b7874894eb2d4f81
2023-10-16 15:23:18 +00:00
Joshua McCloskey
cdc3bf0d00
Adding screenshot tests to settings
...
Test: atest SettingsScreenshotTests
Change-Id: I2d22df2e233561e44b233b8ebdfc0291e37aef6b
2023-10-13 19:20:47 +00:00
Hao Dong
03af4571e3
Add tests for Education
...
Test: atest FingerprintEnrollFindSensorViewModelV2Test
Bug: 295206773
Change-Id: I741ddf49fccae7a301e2fb79194ce8cc6b966070
2023-10-13 00:51:55 +00:00
Priyanka Advani
fc3433b454
Merge "Revert "Implement sfps enroll improvement feature with feature provider"" into main
2023-10-12 21:07:27 +00:00
Priyanka Advani
a99bab5b57
Revert "Implement sfps enroll improvement feature with feature provider"
...
This reverts commit 2ffe187d1b .
Reason for revert: Likely culprit for b/305048300
Change-Id: Ia9d2d98bcb09d63dacde7134c20ded2ed51f9ab4
2023-10-12 19:02:20 +00:00
Wu Ahan
8fb032a73f
Merge "Implement sfps enroll improvement feature with feature provider" into main
2023-10-12 09:54:51 +00:00
Joshua Mccloskey
c320afa70d
Merge "Added UI tests for FingerprintEnrollIntro" into main
2023-10-11 18:53:38 +00:00
Wu Ahan
2ffe187d1b
Implement sfps enroll improvement feature with feature provider
...
Bug: 288155127
Test: Manually
Test: atest FingerprintEnrollEnrollingTest.java
Change-Id: Idb6e5afab4b9cbf8f2ed26819a55dcb34acb1ab9
2023-10-11 08:37:44 +00:00
Hao Dong
ccb414d85b
Merge "Fix recreate crash on Enroll v2." into main
2023-10-10 20:12:05 +00:00
Hao Dong
619e36272c
Fix recreate crash on Enroll v2.
...
Replay sensorType once to avoid |contentLayoutId| to be null when
Education is recreated.
Bug: 295206773
Test: manual test - proceed Enroll page and rotate, no crash happens
Change-Id: I0ec49d138ebe74044ba3554b38722984e78ed5d7
2023-10-09 21:55:31 +00:00
Joshua McCloskey
8bdd8d31d4
Don't show lottie if font is too big.
...
Test: Manually verified lottie isn't shown when font size is increased.
Fixes: 293068457
Change-Id: I00ee2a130ce64b5457b2ca5ae88210ff815993c4
2023-10-09 16:45:54 +00:00
Joshua McCloskey
b7021c8e0b
Added UI tests for FingerprintEnrollIntro
...
Test: m -j40 RunSettingsRoboTests ROBOTEST_FILTER=FingerprintEnrollmentIntroFragmentTest
Bug: 295206367
Change-Id: I70f6b50dd2604e01805df04ffb1c07a9134ba065
2023-10-02 22:05:16 +00:00
Hao Dong
ae40494ee6
Use shared lib for settings v2.
...
Test: settingsv2 tests passed
Bug: 302372183
Change-Id: I6d1b20853b26662c538e804b1191bb720f1d7b8f
2023-09-28 19:16:11 +00:00
Joshua Mccloskey
6d8b293051
Merge "Moved FakeFingerprintManagerInteractor" into main
2023-09-26 15:04:03 +00:00