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

Skip to content
Commit 09d38108 authored by Dmitry Dementyev's avatar Dmitry Dementyev
Browse files

Sanitize Bundle from AbstractAccountAuthenticator.

Bundle is replaced with a new one which contains only documented keys.

Doesn't affect getAccountCredentialsForCloning which can pass arbitrary
bundle.

Ideally the check should be performed once when bundle is recieved in
AccountManagerService. With complex Session class hierarchy the check
can run twice - it can be optimized later.

Bug: 354682735
Test: atest CtsAccountManagerTestCases
Test: atest com.android.server.accounts.AccountManagerServiceTest
Flag: EXEMPT bugfix
Change-Id: Ia3e934e7f72e393c9db777a8a4d59f47e59a98b8
parent 4f667c4e
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