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

Skip to content
Commit b584b965 authored by Hemant Gupta's avatar Hemant Gupta Committed by Myles Watson
Browse files

PBAP: Apply listStartOffset in the final list.

Precondition
Have 2 numbers with same name, with different handles, for example
1.vcf and 5.vcf on DUT

Usecase
1) Connect from carkit for PBAP
2) Search by name, with offset - 0
3) Search by name, with offset - 1
4) Search by name, with offset - 2

Expected behaviour
Carkit is able to show correct list with offset as specified by user

Observed result
 ListStartOffset does not work as expected for PullvCardListing Function.

Fix:
This change will apply the offet value in the final list of vcard values prepared after comparing
with the search value as per the specification. ListStartOffset was being applied on the original
list of names earlier returning extra set of values of names while Vcardlisting.

Test: Perform the usecase as described above and at step2, 1.vcf and 5.vcf are shown,
at step3, 5.vcf are shown and at step4, Nothing is shown.

Bug: 35026764
Change-Id: I36d757a12d0cc94628d4f4ad91c9370397035c4e
parent 9874cb01
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