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

Commit f48d70f5 authored by Alex Yakavenka's avatar Alex Yakavenka
Browse files

Telephony: Add null pointer checks in UiccCardApplicaton.update

Bug: 7174617
Change-Id: Iad5ef2352ea5e6ef4ede87214036ef27cc6a95ef
parent 4a844050
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -122,8 +122,8 @@ public class UiccCardApplication {
            mPin2State = as.pin2;

            if (mAppType != oldAppType) {
                mIccFh.dispose();
                mIccRecords.dispose();
                if (mIccFh != null) { mIccFh.dispose();}
                if (mIccRecords != null) { mIccRecords.dispose();}
                mIccFh = createIccFileHandler(as.app_type);
                mIccRecords = createIccRecords(as.app_type, c, ci);
            }