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

Commit 7dda196e authored by Yuling Liu's avatar Yuling Liu Committed by Jean-Baptiste Queru
Browse files

Change hide() to dismiss() to avoid memory leak.

Change-Id: I4a5acb123c673c75a48c3e77566cdca4760d8576
parent d80661c1
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -130,9 +130,10 @@ public class SimUnlockScreen extends LinearLayout implements KeyguardScreen, Vie

    /** {@inheritDoc} */
    public void cleanUp() {
        // hide the dialog.
        // dismiss the dialog.
        if (mSimUnlockProgressDialog != null) {
            mSimUnlockProgressDialog.hide();
            mSimUnlockProgressDialog.dismiss();
            mSimUnlockProgressDialog = null;
        }
        mUpdateMonitor.removeCallback(this);
    }