This is a temporary measure to decrease the chances of flickers when folding to aod, while we work in parallel to decrease latency.
According to ww metrics, Fold to AoD takes:
p50: 714ms
p89: 1020ms
p95: 1147ms
p99: 1577ms
Once we hit the keyguard drawn timeout, the screen is turned on . However, in some cases sysui and launcher are not ready, and this results with the screen on while showing the unfolded layout, with a rapid transition to the folded one (according to pitot data[1], this happens in 11% of the fold->aod).
This cl sets the timeout to 1700ms (slightly higher than p99). In this way, the chances to have flicker are greatly reduced, but the underlying latency problem remains.
In parallel, we're looking to decrease this latency (see bug).
[1] https://screenshot.googleplex.com/9gV9nEfpstkJmCt
Bug: 243015678
Test: fold->aod many times, no flicker.
Change-Id: I0738901279136dd7577016a3ba46dc4c5b9a86f1
Store the brightness for the default display in nits in persistent data store so that it can be persisted if the device reboots or the display device changes.
Bug: 258455654
Test: adb shell dumpsys display | grep mPersistBrightnessNitsForDefaultDisplay
Change-Id: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
Merged-In: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
Store the brightness for the default display in nits in persistent data store so that it can be persisted if the device reboots or the display device changes.
Bug: 258455654
Test: adb shell dumpsys display | grep mPersistBrightnessNitsForDefaultDisplay
Change-Id: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
This xml maps the devices that can wake the main CPU up to subsystems
that use them.
Test: Builds, boots. Manualy verify the loaded map in the output of
`dumpsys batterystats --wakeups`
Bug: 271922941
Change-Id: I3988cde6d8c5258c1f952ccd8c0a08143998473a
extend lux/brightness mapping table to support 1200nits
Bug: 270673324
Test: brightness level can be 100%
Change-Id: Ie77e797fa5f4a860f8fdd6c84379819dd870192d
We have different settings for inner and outer. So we will use display
config to set them separately.
Bug: 258107876
Test: manual testing
Change-Id: I12ea64b9874ee79eec94c4ede6fa2320b27d0c41
In unfold display, the pattern view UI showing in 2 panes
But the additional horizontal padding make the pattern view
truncate.
Test: build and flash, use demo BP to check the pattern view UI
Test: run CTSVerifier and check the test
Bug: 268276210
Change-Id: Idc040bf7f022c1a282c46d1652a0ce3ca75c1839
Currently, 3P apps could read the system resource
of status bar height for portrait orientation on the
unfolded screen. Updating this value to a correct one.
Bug: 264656380
Change-Id: I859b7c756f1dab88373bf2116cf1638a5faae624
Test: manual
Educational Screen
Fine-tuning Face enroll education page layout for expanding
Accessibility option.
Bug: 265474776
Test: manually go to Settings > Security & privacy > Device lock >
Face & Fingerprint Unlock > Face Unlock, then start enroll Face,
In second stage ("How to set up Face Unlock" page ), check the layout
and lottie animation with turned on expanded Accessibility option, and
they should not be truncated.
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"
Change-Id: I42e28a36fac9cd07dcacd4a16aab09de99211350
Use overlay mechanism to adjust face_enroll_education.xml layout
dimensions for ToF.
1. Fix settings face enrollment UI truncate problem
2. Fix It's hard to tap "setup for limited vision or head motion"
button
Bug: 260653042
Bug: 263065347
Test: manually go to Settings > Security & privacy > Device lock >
Face & Fingerprint Unlock > Face Unlock, then start enroll Face,
In second stage ("How to set up Face Unlock" page ), check the layout
and lottie animation do not truncate.
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"
Change-Id: Ib42a2632bf501b20b4386ed656701ca8ec7b3924
page
Set overlay configuration file for ToF new UI changes.
Bug: 263411275
Test: Manual launch security settings face enroll and make it success.
Test: make RunSettingsRoboTests ROBOTEST_FILTER= \
"com.google.android.settings.biometrics.face.
\FaceEnrollConfirmationTest"
Change-Id: I367822350febbe58724bfdbc40d1f5a2bc5f3b17
1. Set config_face_auth_supported_posture to 1(DEVICE_POSTURE_CLOSED)
2. Set the camera id to 1 for the front camera
Test: Check face auth do not active when device on unfolded state
Test: Check face auth active when device on folded state
Bug: 260636659
Change-Id: I6cbaa43bd7a60e3ac1aa1c14c8bb6559c7e3a8c6