Prevent NPE in AccountCheckSettings
Bug: 5911793 Change-Id: I2834ab6d139e734baed6790098f0405e6a4e957a
This commit is contained in:
parent
0888b50158
commit
258ab6ee84
@ -708,7 +708,9 @@ public class AccountCheckSettingsFragment extends Fragment {
|
||||
public void updateProgress(int progress) {
|
||||
mProgressString = getProgressString(progress);
|
||||
AlertDialog dialog = (AlertDialog) getDialog();
|
||||
dialog.setMessage(mProgressString);
|
||||
if (dialog != null && mProgressString != null) {
|
||||
dialog.setMessage(mProgressString);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user