mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Tango: Hidden Presets chromium webview
This commit is contained in:
@@ -50,6 +50,7 @@ public class SettingsActivity extends PreferenceActivity implements OnSharedPref
|
|||||||
ArrayList<String> filesArray = new ArrayList<String>(Arrays.asList(prefsdir.list()));
|
ArrayList<String> filesArray = new ArrayList<String>(Arrays.asList(prefsdir.list()));
|
||||||
ArrayList<String> newList = new ArrayList<String>();
|
ArrayList<String> newList = new ArrayList<String>();
|
||||||
filesArray.remove("com.introlab.rtabmap_preferences.xml");
|
filesArray.remove("com.introlab.rtabmap_preferences.xml");
|
||||||
|
filesArray.remove("WebViewChromiumPrefs.xml");
|
||||||
for (String s : filesArray) {
|
for (String s : filesArray) {
|
||||||
newList.add(s.substring(0, s.length()-4)); // rip off the ".xml"
|
newList.add(s.substring(0, s.length()-4)); // rip off the ".xml"
|
||||||
}
|
}
|
||||||
@@ -156,6 +157,7 @@ public class SettingsActivity extends PreferenceActivity implements OnSharedPref
|
|||||||
ArrayList<String> filesArray = new ArrayList<String>(Arrays.asList(prefsdir.list()));
|
ArrayList<String> filesArray = new ArrayList<String>(Arrays.asList(prefsdir.list()));
|
||||||
ArrayList<String> newList = new ArrayList<String>();
|
ArrayList<String> newList = new ArrayList<String>();
|
||||||
filesArray.remove("com.introlab.rtabmap_preferences.xml");
|
filesArray.remove("com.introlab.rtabmap_preferences.xml");
|
||||||
|
filesArray.remove("WebViewChromiumPrefs.xml");
|
||||||
for (String s : filesArray) {
|
for (String s : filesArray) {
|
||||||
newList.add(s.substring(0, s.length()-4)); // rip off the ".xml"
|
newList.add(s.substring(0, s.length()-4)); // rip off the ".xml"
|
||||||
}
|
}
|
||||||
@@ -321,4 +323,4 @@ public class SettingsActivity extends PreferenceActivity implements OnSharedPref
|
|||||||
}
|
}
|
||||||
ed.commit(); //save it.
|
ed.commit(); //save it.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user