summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author William Loh <wloh@google.com> 2022-08-30 00:11:15 +0000
committer William Loh <wloh@google.com> 2022-10-11 01:50:25 +0000
commit3ae3406b9706163073c282a8c4081faa32b606b2 (patch)
tree9a26c7d4f96fef22c481bae7a5ecfb56243afd18 /libs/androidfw/ResourceTimer.cpp
parent539fea38c295c704a45303cdf80392513c21a48e (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