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: Aditya Jadhav <aditya.jadhav@oppo.com>
Loading
Please register or sign in to comment