diff options
| author | 2022-06-23 14:27:43 -0700 | |
|---|---|---|
| committer | 2022-07-25 17:17:04 +0000 | |
| commit | d54a48f42aca2ce06363a2c260cd3a8668e938d8 (patch) | |
| tree | 8dde759875b097a6fed5e7c71b78da604145b265 /libs/androidfw/Util.cpp | |
| parent | 1479d4c5943b5f96435b28058aa42e9f6a2be1a3 (diff) | |
switch TelecomManager List getters to ParceledListSlice
It was shown that given a large phoneAccountHandles that are
over 1 mb, a TransactionTooLarge exception can be silently thrown
causing an empty list to be returned.
In order to prevent this behavior, all Lists that return a
PhoneAccountHandle or PhoneAccount have been switched to
ParceledListSlice.
bug: 236263294
Test: atest android.telecom.cts.PhoneAccountRegistrarTest
#testRegisterPhoneAccountHandleWithFieldOverLimit
Change-Id: I025245b2a6f8cfaca86f268851a9d8f0817e07dd
Merged-In: I025245b2a6f8cfaca86f268851a9d8f0817e07dd
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions