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

Commit b12efded authored by kun.tang's avatar kun.tang Committed by android-build-merger
Browse files

Merge "Unregister receiver when SIMRecords dispose."

am: 375768dd

Change-Id: I996780ebfe23a3b1eb1c6f95f5112e190ea3932e
parents 2063878d 375768dd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -250,6 +250,7 @@ public class SIMRecords extends IccRecords {
        mCi.unSetOnSmsOnSim(this);
        mParentApp.unregisterForReady(this);
        mParentApp.unregisterForLocked(this);
        mContext.unregisterReceiver(mReceiver);
        resetRecords();
        super.dispose();
    }