fix NPE
This commit is contained in:
parent
95d3551931
commit
6ba485d9cd
|
@ -129,7 +129,8 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre
|
|||
}
|
||||
}
|
||||
}
|
||||
adjustUnitDependentPrefs(pref);
|
||||
if (pref != null)
|
||||
adjustUnitDependentPrefs(pref);
|
||||
}
|
||||
|
||||
public static void initSummary(Preference p) {
|
||||
|
|
Loading…
Reference in a new issue