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

Skip to content
Commit d1bf9cc5 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android Build Coastguard Worker
Browse files

Correct keyguard occluding condition for wakeup

The commit [1] changes the usage of occludedByActivity to
mOccluded, but it missed once place for turning screen on.
Which could cause screen to not turn on while app uses
FLAG_SHOW_WHEN_LOCKED + FLAG_TURN_SCREEN_ON.

[1]: I0250025c5e0bc1c7af8c0dc978f441bfbce50326

Bug: 159821769
Bug: 348662989
Flag: EXEMPT bugfix
Test: ActivityVisibilityTests#testTurnScreenOnActivity_slowLaunch
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e1702b54e52fc509acb08bc120603568e0dc368d)
Merged-In: Ic4e07911bc38cc010c41fd3f7d36c06cd64645c8
Change-Id: Ic4e07911bc38cc010c41fd3f7d36c06cd64645c8
parent 0b92bb69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment