Fix sensor for turn screen on
This commit is contained in:
parent
ceff1bef41
commit
1ae1893105
1 changed files with 1 additions and 1 deletions
|
@ -1903,7 +1903,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
|
|||
}
|
||||
|
||||
public void changeKeyguardFlags() {
|
||||
changeKeyguardFlags(false, true);
|
||||
changeKeyguardFlags(settings.TURN_SCREEN_ON_TIME_INT.get() > 0, true);
|
||||
}
|
||||
|
||||
private void changeKeyguardFlags(boolean enable, boolean forceKeepScreenOn) {
|
||||
|
|
Loading…
Reference in a new issue