Fix crash on settings by adding proxy fragment to isValidFragment
This commit is contained in:
committed by
Adithya Abraham Philip
parent
bf2d9eda7c
commit
e909d7a4d5
@@ -415,6 +415,7 @@ public class SettingsActivity extends AppCompatPreferenceActivity {
|
||||
protected boolean isValidFragment(String fragmentName) {
|
||||
return AdvancedPrefsFragment.class.getName().equals(fragmentName)
|
||||
|| CloudSearchPrefsFragment.class.getName().equals(fragmentName)
|
||||
|| ProxyPrefsFragment.class.getName().equals(fragmentName)
|
||||
|| super.isValidFragment(fragmentName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user