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

Commit e6c57426 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Catch crash in mobile network ProgressDialog" am: aaee4539 am: 840506e8 am: 2d84cdbc

Change-Id: I1dc710279b2a6fbfeac34951121ed9d7c3a4ee0a
parents 50bd5698 2d84cdbc
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -176,7 +176,11 @@ public class AutoSelectPreferenceController extends TelephonyTogglePreferenceCon

    private void dismissProgressBar() {
        if (mProgressDialog != null && mProgressDialog.isShowing()) {
            try {
                mProgressDialog.dismiss();
            } catch (IllegalArgumentException e) {
                // Ignore exception since the dialog will be gone anyway.
            }
        }
    }