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

Commit 748ed743 authored by weitan's avatar weitan
Browse files

CSVT: Add check for PhoneAccountHandle to ensure CSVT CallLog

      Add non-Null check for PhoneAccountHandle incase
      NullPointerException before inserting value.

CRs-Fixed: 765598

Change-Id: I8f08643a739a391c6756395397202359224f548c
parent 294526af
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -537,7 +537,9 @@ public class CallLog {
                values.put(DATA_USAGE, dataUsage);
            }
            values.put(PHONE_ACCOUNT_COMPONENT_NAME, accountComponentString);
            if (accountId != null) {
                values.put(PHONE_ACCOUNT_ID, accountId);
            }
            values.put(NEW, Integer.valueOf(1));
            if (callType == MISSED_TYPE) {
                values.put(IS_READ, Integer.valueOf(0));