commit | da0b92b1abdd642f642f641c1e636779f123d78d | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <zyy@google.com> | Fri Nov 11 15:41:23 2022 -0800 |
committer | Yurii Zubrytskyi <zyy@google.com> | Fri Nov 11 15:45:10 2022 -0800 |
tree | 3db407c87f4f137c279e2629bc1d246af01843cc | |
parent | 0cacc5937c2e9f9337cdba62ad11556a20037165 [diff] |
Replace often searched ArrayList with ArraySet ArrayList.contains() is the top function in PackageManager's boot profile for IntenFilter.matchAction(). Replacing the arrays with ArraySets makes those completely disappear. Bug: 237583012 Test: build + boot Change-Id: I659f802be54c5a3f70fd23688bbff1fb5f44cb51