PBAP: Implement Folder Version Counter(s)
Primary version counter should be updated on any change to contact. Secondary version counter should not update when there is change to fields other than F, FN, TEL, EMAIL or ADDRESS. There is no default API available in android to determine which field is updated as required for updating secondary version counter. Implemented logic to increment the secondary version counter by comparing updated contacts with old cached contacts of the contact database. Test: Verified that folder version counter gets incremented for change(s) in fields of Contacts as per PBAP specification. Bug: 33011817 Change-Id: I90a1ced3713c369bcde0edd627bbde57a9676708
Loading
Please register or sign in to comment