summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author William Loh <wloh@google.com> 2022-08-05 20:25:27 +0000
committer William Loh <wloh@google.com> 2022-09-06 18:45:38 +0000
commit9bdd9d274ac4ce77c0e8d649141ceea115b1ddbe (patch)
tree16ee84e4622fe868ee68e225a0fe2ac0f8730439 /libs/androidfw/ResourceTimer.cpp
parent5421a3f422b796bf3b513320d484fbd33486f365 (diff)
Limit length and number of MIME types you can set
Limit character length of MIME types to 255. If this length is exceeded then a IllegalArugmentException is thrown. The number of MIME types that can be set is also limited to 500 per MIME group with the number of total MIME Groups also limited to 500. A IllegalStateException is thrown if this number is exceeded. Bug: 237291548 Test: Installed and ran POC app from b/237291548 Change-Id: I1d57e674f778cfacdc89225ac3273c432a39af63 Merged-In: I1d57e674f778cfacdc89225ac3273c432a39af63
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions