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

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

Change-Id: If482e609b9b7d043082af4c06ad0f31b3bbcda2d
parents 21ca7a43 03e935f4
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.
            }
        }
    }