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

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

PBAP: Send correct Get response when storage is locked.

Precondition:
1) DUT is in Direct Boot mode, and user has not unlocked.
2) DUT is connected to carkit supporting PBAP

Usecase:
Carkit sends request for get phonebook size or get phonebook.

Expected Result:
DUT should return error as Service unavailable as per BT PBAP Spec,
instead of sending 0 as length of phonebook, or sending xml with
no vcard in above usecase.

Observed behaviour:
DUT sends 0 as length of phonebook, and sends empty xml for phonebook request.

Fix:
During get request from carkit, return OBEX_SERVICE_UNAVAILABLE error if DUT is in
direct boot mode.

Test: Checked if error code is sent out when storage is not accessible in Direct
boot mode.

Bug: 38302549
Change-Id: I906cf7cef5caf650d0bea6bdf0ff71100ecf761a
parent 619d303d
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