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

Commit 9140b1d2 authored by Bonian Chen's avatar Bonian Chen Committed by Automerger Merge Worker
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 am: bb9fbb60

Change-Id: I15184d9be4569bd195a7416cad256f4943d2ca9b
parents 3ffe34a4 bb9fbb60
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.
            }
        }
    }