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

Skip to content
Commit 3de731a1 authored by Jeroen Dhollander's avatar Jeroen Dhollander
Browse files

DPMS: Enforce max byte length not character length

The Binary XML serializer doesn't support strings with a *byte*
length > 65k, but the DPMS code actually checked for *character*
length.

Test: android.devicepolicy.cts.AffiliationIdsTest#setAffiliationIds_idTooLong_throws
Bug: b/336550683
Flag: EXEMPT Bugfix

Change-Id: Ife885da75206d8000e3c0f247386685dc8d0ea76
parent 6d79476a
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