* improved pluginPreferenceActivity (yes, I tested it in tablet mode)

* made IITC_FileManager.readStream(...) static and always use it when reading src files
This commit is contained in:
Philipp Schaefer
2014-01-22 10:45:20 +01:00
parent a161c4e181
commit d8a09bbae2
4 changed files with 98 additions and 99 deletions

View File

@ -25,8 +25,9 @@ public class PluginsFragment extends PreferenceFragment {
if (getArguments() != null) {
// get plugins category for this fragments and plugins list
String category = getArguments().getString("category");
boolean userPlugin = getArguments().getBoolean("userPlugin");
ArrayList<IITC_PluginPreference> prefs =
IITC_PluginPreferenceActivity.getPluginPreference(category);
IITC_PluginPreferenceActivity.getPluginPreference(category, userPlugin);
// add plugin checkbox preferences
for (IITC_PluginPreference pref : prefs) {