Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f1ff1b7 authored by Jason Chiu's avatar Jason Chiu
Browse files

Revert "Do not show the redundant RemoveAccountFailureDialog"

This reverts commit e5f1d249.

Reason for revert: "Remove account" does nothing and shows no errors
Fix: 232819214

Change-Id: I4a4e5084cde87ea2a9e5be1ff3ca6709e11ebc3d
parent 7d634de3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -180,10 +180,11 @@ public class RemoveAccountPreferenceController extends AbstractPreferenceControl
                                | AuthenticatorException e) {
                            // handled below
                            Log.w(TAG, "Remove account error: " + e);
                            RemoveAccountFailureDialog.show(getTargetFragment());
                        }
                        Log.i(TAG, "failed: " + failed);
                        if (!failed) {
                        if (failed) {
                            RemoveAccountFailureDialog.show(getTargetFragment());
                        } else {
                            targetActivity.finish();
                        }
                    }, null, mUserHandle);