added configurable menu

This commit is contained in:
Philipp Schaefer
2014-03-02 18:26:02 +01:00
parent b173f778a5
commit b3ec1974b6
4 changed files with 46 additions and 24 deletions

View File

@ -217,10 +217,6 @@ public class IITC_WebView extends WebView {
final Set<String> entries = mSharedPrefs.getStringSet("pref_fullscreen", new HashSet<String>());
mFullscreenStatus &= FS_ENABLED;
// default values...android has no nice way to add default values to multiSelectListPreferences
if (entries.isEmpty()) {
mFullscreenStatus += FS_ACTIONBAR | FS_SYSBAR;
}
for (final String entry : entries) {
mFullscreenStatus += Integer.parseInt(entry);
}