v2.4.0: started phasing out the power saver option
This commit is contained in:
+5
-1
@@ -253,7 +253,11 @@ public class WndSettings extends WndTabbed {
|
|||||||
}
|
}
|
||||||
add(chkFullscreen);
|
add(chkFullscreen);
|
||||||
|
|
||||||
if (DeviceCompat.isAndroid() && PixelScene.maxScreenZoom >= 2) {
|
//power saver is being slowly phased out, only show it on old (4.3-) android devices
|
||||||
|
// this is being phased out as the setting is useless on all but very old devices anyway
|
||||||
|
// and support is going to be dropped for 4.3- in the forseeable future
|
||||||
|
if (DeviceCompat.isAndroid() && PixelScene.maxScreenZoom >= 2
|
||||||
|
&& SPDSettings.powerSaver() || !DeviceCompat.supportsFullScreen()) {
|
||||||
chkSaver = new CheckBox(Messages.get(this, "saver")) {
|
chkSaver = new CheckBox(Messages.get(this, "saver")) {
|
||||||
@Override
|
@Override
|
||||||
protected void onClick() {
|
protected void onClick() {
|
||||||
|
|||||||
Reference in New Issue
Block a user