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

Commit 745329af authored by Yorke Lee's avatar Yorke Lee Committed by Android Git Automerger
Browse files

am af789916: am 59308086: am 2b83b0f0: Merge "Don\'t update call log in...

am af789916: am 59308086: am 2b83b0f0: Merge "Don\'t update call log in CallerInfoQueryThread without permission" into mnc-dev

* commit 'af789916':
  Don't update call log in CallerInfoQueryThread without permission
parents 3a95857a af789916
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -298,6 +298,10 @@ public class ContactInfoHelper {
     */
    public void updateCallLogContactInfo(String number, String countryIso, ContactInfo updatedInfo,
            ContactInfo callLogInfo) {
        if (!PermissionsUtil.hasPermission(mContext, android.Manifest.permission.WRITE_CALL_LOG)) {
            return;
        }

        final ContentValues values = new ContentValues();
        boolean needsUpdate = false;