diff options
author | Tobias Genannt <tobias.genannt@googlemail.com> | 2015-03-14 13:17:45 +0100 |
---|---|---|
committer | Tobias Genannt <tobias.genannt@googlemail.com> | 2015-03-14 13:17:45 +0100 |
commit | 842302e9bc2d5ef0f25e4dc4b038ab384e273c2c (patch) | |
tree | 93b9202cf394c9afb66067271e5663a051255e11 /main | |
parent | 1b53c666388b4d15f884f5587b6f6fa58bc04762 (diff) | |
download | cgeo-842302e9bc2d5ef0f25e4dc4b038ab384e273c2c.zip cgeo-842302e9bc2d5ef0f25e4dc4b038ab384e273c2c.tar.gz cgeo-842302e9bc2d5ef0f25e4dc4b038ab384e273c2c.tar.bz2 |
Related to #4649
Added HW-accel. info in system information
Diffstat (limited to 'main')
-rw-r--r-- | main/src/cgeo/geocaching/AboutActivity.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/AboutActivity.java b/main/src/cgeo/geocaching/AboutActivity.java index c29c6b1..8ac42e3 100644 --- a/main/src/cgeo/geocaching/AboutActivity.java +++ b/main/src/cgeo/geocaching/AboutActivity.java @@ -270,7 +270,6 @@ public class AboutActivity extends AbstractViewPagerActivity<AboutActivity.Page> fromActivity.startActivity(intent); } - private static String presence(final Boolean present) { return present ? "present" : "absent"; } @@ -289,7 +288,9 @@ public class AboutActivity extends AbstractViewPagerActivity<AboutActivity.Page> .append("\nGeomagnetic rotation sensor: ").append(presence(RotationProvider.hasGeomagneticRotationSensor(context))) .append("\nOrientation sensor: ").append(presence(OrientationProvider.hasOrientationSensor(context))) .append("\nHide own/found: ").append(Settings.isExcludeMyCaches()) - .append("\nMap strategy: ").append(Settings.getLiveMapStrategy().toString().toLowerCase(Locale.getDefault())); + .append("\nMap strategy: ").append(Settings.getLiveMapStrategy().toString().toLowerCase(Locale.getDefault())) + .append("\nHW-acceleration: ").append(Settings.useHardwareAcceleration() ? "enabled" : "disabled") + .append(" (Disabled by default: ").append(Settings.HW_ACCEL_DISABLED_BY_DEFAULT ? "yes" : "no").append(")"); for (final ILogin connector : ConnectorFactory.getActiveLiveConnectors()) { body.append('\n').append(connector.getName()).append(": ").append(connector.isLoggedIn() ? "logged in" : "not logged in") .append(" (").append(connector.getLoginStatusString()).append(')'); |