diff options
| author | 2024-08-26 16:54:10 -0700 | |
|---|---|---|
| committer | 2024-08-27 16:57:46 -0700 | |
| commit | 09d381088952db904dbd0cc1c1c7362c033cf216 (patch) | |
| tree | df1401a664529d6470643f5c984557f14ebef73d /api/api.go | |
| parent | 4f667c4e6149f87630e1abe426e4629b9ab9e949 (diff) | |
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions