mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Check the videocall wavelock is held before releasing it
This commit is contained in:
parent
b92df3005e
commit
e1ffbe85c9
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ public class VideoCallActivity extends Activity {
|
|||
@Override
|
||||
protected void onPause() {
|
||||
Log.d(tag, "onPause VideoCallActivity");
|
||||
mWakeLock.release();
|
||||
if (mWakeLock.isHeld()) mWakeLock.release();
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue