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

Skip to content
Commit 72ebf3a7 authored by Chienyuan's avatar Chienyuan Committed by Chienyuan Huang
Browse files

SAP: set priority after user confirm access permission

For current design, the priority will stay in PRIORITY_UNDEFINED even
thought SAP connected, it will cause the toggle in device detail page
display wrong state. Set priority after user confirm access permission
to fix this.

Use EXTRA_ACCESS_REQUEST_TYPE instead of mIsWaitingAuthorization when
receive ACTION_CONNECTION_ACCESS_REPLY intend, it can prevent we mislead
by intend for other profiles, such as MAP and PBAP.

Bug:130870422
Test: connect SAP, check settings UI
Change-Id: I1549fbd173180bc8871ffc661773d29fabd81424
parent 87f96493
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