Merge "Fix NPE in user settings." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e69d754865
@@ -751,6 +751,9 @@ public class UserSettings extends SettingsPreferenceFragment
|
|||||||
}
|
}
|
||||||
pref.setTitle(user.name);
|
pref.setTitle(user.name);
|
||||||
}
|
}
|
||||||
|
if (pref == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (!isInitialized(user)) {
|
if (!isInitialized(user)) {
|
||||||
if (user.isRestricted()) {
|
if (user.isRestricted()) {
|
||||||
pref.setSummary(R.string.user_summary_restricted_not_set_up);
|
pref.setSummary(R.string.user_summary_restricted_not_set_up);
|
||||||
|
Reference in New Issue
Block a user