PBAP: Send remaining contacts instead of error on Contact deletion
Precondition: vCardFilter should not be null. Usecase: 1) Establish PBAP Connection. 2) Start Pull Phonebook Operation. 3) Delete some latest created contact while pull phonebook operation is in progress. Issue: OBEX_HTTP_INTERNAL_ERROR is sent during contact download. Root Cause: If contact is deleted or not found after pull phonebook operation is started, StringIndexOutOfBoundException causes sending OBEX_HTTP_INTERNAL_ERROR. Fix: Skip deleted contact entry and send remaining contact without sending OBEX_HTTP_INTERNAL_ERROR. Test: Issue not seen as per above usecase. Bug: 79447289 Change-Id: I357cce93e5ddfff62ad928864272257b18602d55
Loading
Please register or sign in to comment