fix NPE
This commit is contained in:
parent
95d3551931
commit
6ba485d9cd
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue