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

Commit 2aae8e5b authored by Jordan Hayes's avatar Jordan Hayes
Browse files

Integrate CP2 Android B Default Account APIs

Sdk 36 introduced new APIs for managing the default account for new
contacts that change the behavior of CP2 when certain default accounts
are set,
https://developer.android.com/identity/providers/contacts-provider/contacts-storage-locations?hl=en.

The app now delegates to the default account picker in CP2 whenever the
user would have been prompted to set a default account, e.g. when
inserting without a default or through app settings.

Since CP2 does not allow new contacts in local accounts when the
default account is set to a cloud, the app hides these accounts
during insert flows.

Bug: 402284112
Test: manual and ran test suite
Flag: NONE unflaggable OS requirements
Change-Id: I39d7a879b5972f78dc690006535a3a3fa13f5bac
parent a01ad58f
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