Description
Proximitiy Lock was not released after user leaves the session
Which Android Video SDK version?
1.13.11
To Reproduce
use command adb shell dumpsys power | grep -A 20 “Wake Locks”
during different stage to check the Wake Lock status
- Start the app
result (Expected): Wake Locks: size=0
2. User joins the session
result (Expected):
Wake Locks: size=7
PARTIAL_WAKE_LOCK 'AudioMix' ACQ=-4s12ms (uid=1041 ws=WorkSource{10035} displayId=-1 lock=c6467ee)
PARTIAL_WAKE_LOCK 'AudioMix' ACQ=-2s697ms (uid=1041 displayId=-1 lock=e7ef48f)
PARTIAL_WAKE_LOCK 'AudioIn' ACQ=-6s217ms (uid=1041 ws=WorkSource{10035} displayId=-1 lock=2be31c)
PROXIMITY_SCREEN_OFF_WAKE_LOCK 'us.zoom.video_sdk.e2:proximitiy' ACQ=-4s613ms (uid=10035 pid=12845 displayId=-1 lock=1ebf51b)
PARTIAL_WAKE_LOCK 'AudioMix' ACQ=-2s793ms (uid=1041 displayId=-1 lock=58a6b25)
PARTIAL_WAKE_LOCK 'AudioMix' ACQ=-2s792ms (uid=1041 displayId=-1 lock=c3314fa)
PARTIAL_WAKE_LOCK 'MmapPlayback' ACQ=-2s751ms (uid=1041 ws=WorkSource{10035} displayId=-1 lock=5804aab)
- User leaves the session
Result (Error):
Wake Locks: size=1
PROXIMITY_SCREEN_OFF_WAKE_LOCK 'us.zoom.video_sdk.e2:proximitiy' ACQ=-2m2s602ms (uid=10035 pid=12845 displayId=-1 lock=1ebf51b)
This Proximity wake lock is not released,
The screen get turned off when there is an object close to the screen even when the user is not in the call or the app is in the background.
Smartphone
- Device: Samsung S21
- OS: Android 15
Additional context
Sorry I am aware that I am not on the latest SDK. Is this fixed in a newer version?