Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ee98de19 authored by Alejandro Nijamkin's avatar Alejandro Nijamkin
Browse files

[flexiglass] Fixes back/home navigation when occluded.

Before this, back or home navigation when the lockscreen is occluded by
another activity (for example, the camera app when locked) didn't work.

This CL fixes that issue.

The approach is one where SysUiState is hydrated with SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING_OCCLUDED when on lockscreen and occluded instead of SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING when on lockscreen but not occluded.

For posterity, the command used to figure out the difference betwene
SysUiState flags with Flexiglas on and off was:

$ adb shell dumpsys activity service com.android.systemui/.SystemUIService SysUiState

Fix: 308001302
Test: unit tests added
Test: manually verified that back and home gesture both work when
showing the camera app on top of the locked device
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT

Change-Id: I707a46b502ad7697985794084b05f35493bcdf19
parent 0aa7287f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment