Fix sensor for turn screen on

This commit is contained in:
max-klaus 2019-08-14 15:34:59 +03:00
parent ceff1bef41
commit 1ae1893105

View file

@ -1903,7 +1903,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
} }
public void changeKeyguardFlags() { public void changeKeyguardFlags() {
changeKeyguardFlags(false, true); changeKeyguardFlags(settings.TURN_SCREEN_ON_TIME_INT.get() > 0, true);
} }
private void changeKeyguardFlags(boolean enable, boolean forceKeepScreenOn) { private void changeKeyguardFlags(boolean enable, boolean forceKeepScreenOn) {