summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Aditya Jadhav <aditya.jadhav@oppo.com> 2023-06-12 16:43:35 +0530
committer Aditya Jadhav <aditya.jadhav@oppo.com> 2023-06-17 14:50:44 +0530
commit7b712e2f1df3fb91c932557c59c167293efae33f (patch)
tree960a067bc9c11ad3d15811c2a6e8f181eacc5db2 /libs/androidfw/AttributeResolution.cpp
parent82e6aa3bd882f9abd142dbebe770deeca2934f9e (diff)
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>
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions