Skip to content
Commit 7b712e2f authored by Aditya Jadhav's avatar Aditya Jadhav
Browse files

Sometimes Screen does not wake up while receiving whatsapp video call



Problem: {
    1. Set wipe lock screen. Press power. Then quickly video call from whatsapp from other device.
    2. Try for 15 to 20 times. Issue should occur. Try it on low end pixel device if possible. Its a race condition issue. Might now reproduce on high end devices
    3. When updateVisibility#KeyguardController.java is called when app has not set show when locked, lastTurnScreenOnActivity gets assigned value mTopTurnScreenOnActivity.
    4. This never resets again, and when actually the app sets show when locked and wants to wakeup the screen, lastTurnScreenOnActivity and mTopTurnScreenOnActivity are equal.
    5. This condition check does not allow device to wake up.
}

Solution: {
    1. Allow the device screen to wake up when app has set show when locked attribute.
}

Bug: 286776817

Change-Id: I55543d010115e3608eaf6d54c24e7800d3569a05
Signed-off-by: default avatarAditya Jadhav <aditya.jadhav@oppo.com>
parent 82e6aa3b
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