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…
Reference in a new issue