Fix screen blinking during the call for some Samsung phones (#3800)
This commit is contained in:
parent
d88f79e436
commit
203e248a14
|
@ -276,7 +276,7 @@ public class RtpSessionActivity extends XmppActivity implements XmppConnectionSe
|
||||||
private void releaseProximityWakeLock() {
|
private void releaseProximityWakeLock() {
|
||||||
if (this.mProximityWakeLock != null && mProximityWakeLock.isHeld()) {
|
if (this.mProximityWakeLock != null && mProximityWakeLock.isHeld()) {
|
||||||
Log.d(Config.LOGTAG, "releasing proximity wake lock");
|
Log.d(Config.LOGTAG, "releasing proximity wake lock");
|
||||||
this.mProximityWakeLock.release();
|
this.mProximityWakeLock.release(PowerManager.RELEASE_FLAG_WAIT_FOR_NO_PROXIMITY);
|
||||||
this.mProximityWakeLock = null;
|
this.mProximityWakeLock = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue