diff --git a/OsmAnd/src/net/osmand/plus/development/SettingsDevelopmentActivity.java b/OsmAnd/src/net/osmand/plus/development/SettingsDevelopmentActivity.java index 1d69db36bb..39c259ec83 100644 --- a/OsmAnd/src/net/osmand/plus/development/SettingsDevelopmentActivity.java +++ b/OsmAnd/src/net/osmand/plus/development/SettingsDevelopmentActivity.java @@ -74,6 +74,7 @@ public class SettingsDevelopmentActivity extends SettingsBaseActivity { long javaTotal = Runtime.getRuntime().totalMemory() / (1024*1024l); long dalvikSize = android.os.Debug.getNativeHeapAllocatedSize() / (1024*1024l); pref.setSummary(getString(R.string.global_app_allocated_memory_descr, javaAvailMem, javaTotal, dalvikSize)); + pref.setSelectable(false); cat.addPreference(pref); // ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); @@ -87,6 +88,7 @@ public class SettingsDevelopmentActivity extends SettingsBaseActivity { pref.setSummary(getString(R.string.native_app_allocated_memory_descr , mem.nativePrivateDirty / 1024, mem.dalvikPrivateDirty / 1024 , mem.otherPrivateDirty / 1024 , mem.nativePss / 1024, mem.dalvikPss / 1024 , mem.otherPss / 1024)); + pref.setEnabled(false); cat.addPreference(pref); @@ -101,6 +103,7 @@ public class SettingsDevelopmentActivity extends SettingsBaseActivity { pref.setSummary(getString(R.string.day_night_info_description, "null", "null")); } + pref.setSelectable(false); cat.addPreference(pref); } diff --git a/OsmAnd/src/net/osmand/plus/monitoring/SettingsMonitoringActivity.java b/OsmAnd/src/net/osmand/plus/monitoring/SettingsMonitoringActivity.java index f1bca049c1..ee85dbdd20 100644 --- a/OsmAnd/src/net/osmand/plus/monitoring/SettingsMonitoringActivity.java +++ b/OsmAnd/src/net/osmand/plus/monitoring/SettingsMonitoringActivity.java @@ -61,6 +61,7 @@ public class SettingsMonitoringActivity extends SettingsBaseActivity { Preference globalrecord = new Preference(this); globalrecord.setSummary(R.string.save_track_to_gpx_globally_descr); + globalrecord.setSelectable(false); cat.addPreference(globalrecord); if(settings.SAVE_GLOBAL_TRACK_REMEMBER.get()) {