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

Commit 03e935f4 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 am: 9140b1d2

Change-Id: Ibc81e28dc1a5c4ae07199c2627035d2e4f6716d3
parents 76b3da3e 9140b1d2
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.
            }
        }
    }