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

Skip to content
Commit c1ebe670 authored by Rhed Jao's avatar Rhed Jao
Browse files

Enforce package visibility filtering on AccountManager APIs

Apps targeting Android U and above calling methods to update or
query account visibility need to declare package visibility needs
for the target package in the manifest. APIs listed below apply this
rule.
 - #getAccountVisibility
 - #getAccountsAndVisibilityForPackage
 - #setAccountVisibility
 - #addAccountExplicitlyWithVisibility

Bug: 154726397
Bug: 186229635
Test: atest CtsAccountManagerTestCases
Test: atest CtsAccountsHostTestCases
Test: atest CtsAppEnumerationTestCases
Change-Id: Ia40a3fb6025557f35e55fd26947dd1d89226f7f7
parent 991dd46e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment