Remove unnecessary changes for power button
This commit is contained in:
parent
b92c91c31e
commit
96bccff515
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ public class LockHelper implements SensorEventListener {
|
||||||
|
|
||||||
private void lock() {
|
private void lock() {
|
||||||
releaseWakeLocks();
|
releaseWakeLocks();
|
||||||
if (lockUIAdapter != null) {
|
if (lockUIAdapter != null && !(useSystemScreenTimeout.get() && turnScreenOnPowerButton.get())) {
|
||||||
lockUIAdapter.lock();
|
lockUIAdapter.lock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue