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

Commit bb9fbb60 authored by Bonian Chen's avatar Bonian Chen Committed by Android (Google) Code Review
Browse files

Merge "Merge "Catch crash in mobile network ProgressDialog" am: aaee4539 am:...

Merge "Merge "Catch crash in mobile network ProgressDialog" am: aaee4539 am: 840506e8 am: 2d84cdbc am: e6c57426 am: 7300bab2" into rvc-dev
parents e189ac52 7ab0499a
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.
            }
        }
    }