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

Commit f667af23 authored by Wink Saville's avatar Wink Saville Committed by android code review
Browse files

Merge "Telephony: Add null pointer checks in UiccCardApplicaton.update"

parents 4a844050 f48d70f5
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);
            }