Switch VCardParser version if it doesn't match vCard version
If we get a VCardVersionException (i.e., our VCardParser's version doesn't match the vCard's version), try changing our VCardParser to the other version (either v2.1 or v3.0), and try parsing again. Currently, parsing simply fails upon VCardVersionException, so none of the contacts and call history are downloaded. Bug: 311404211 Test: atest BluetoothPbapVcardListTest Test: atest BluetoothPbapRequestPullPhoneBookTest Test: atest PbapClientConnectionHandlerTest Flag: EXEMPT, code path is not executed on phones, ramping may be close to non-existent and possibly not enough users to pass the gantry gate, unit tests were added. Change-Id: I005060a57b6d5c12049a717ea9c6c6041192e694
Loading
Please register or sign in to comment