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

Skip to content
Commit dd21a0b9 authored by Sumit Deshmukh's avatar Sumit Deshmukh Committed by Hemant Gupta
Browse files

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
parent b1f3240c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment