Revert "Do not show the redundant RemoveAccountFailureDialog"
This reverts commit e5f1d24913
.
Reason for revert: "Remove account" does nothing and shows no errors
Fix: 232819214
Change-Id: I4a4e5084cde87ea2a9e5be1ff3ca6709e11ebc3d
This commit is contained in:
@@ -180,10 +180,11 @@ public class RemoveAccountPreferenceController extends AbstractPreferenceControl
|
|||||||
| AuthenticatorException e) {
|
| AuthenticatorException e) {
|
||||||
// handled below
|
// handled below
|
||||||
Log.w(TAG, "Remove account error: " + e);
|
Log.w(TAG, "Remove account error: " + e);
|
||||||
RemoveAccountFailureDialog.show(getTargetFragment());
|
|
||||||
}
|
}
|
||||||
Log.i(TAG, "failed: " + failed);
|
Log.i(TAG, "failed: " + failed);
|
||||||
if (!failed) {
|
if (failed) {
|
||||||
|
RemoveAccountFailureDialog.show(getTargetFragment());
|
||||||
|
} else {
|
||||||
targetActivity.finish();
|
targetActivity.finish();
|
||||||
}
|
}
|
||||||
}, null, mUserHandle);
|
}, null, mUserHandle);
|
||||||
|
Reference in New Issue
Block a user