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

Skip to content
Commit fa73e56e authored by Sal Savage's avatar Sal Savage
Browse files

Abstract account type ready logic behind PbapClientAccountManager

This change takes the existing logic that determines when our PBAP
Client account manager framework Account is recognized by the account
manager framework and ready to be interacted with.

This happens when the user unlocks and when our account manager
AuthenticationService for our account type is started and found by
account manager service.

Once these two things are complete, we can begin adding and removing
accounts for our account type without security exceptions.

Centralizing the account management logic provides better code health
and testability, and allows for future patterns where a device can own
it's storage account instead of the service.

Bug: 365626536
Flag: EXEMPT, mechanical refactor with additional test coverage
Test: atest com.android.bluetooth.pbapclient
Test: m com.android.btservices
Change-Id: I020bdc396190d302bd4d26af376c197e14b928af
parent 6371b8a3
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