commit | 957c23775f46c26142bc6d4f9a592ac4586a9ef8 | [log] [tgz] |
---|---|---|
author | Yusuke Sato <yusukes@google.com> | Mon Aug 03 16:17:16 2015 -0700 |
committer | Yusuke Sato <yusukes@google.com> | Mon Aug 03 17:24:32 2015 -0700 |
tree | b0e5e6aa058940d5acd4afdf279f1db30bfd74b1 | |
parent | 608ad1409dc3cd86a66208ddaa31e3a4c54adfac [diff] |
Let findSupportedAbi and hasRenderscriptBitcode scan only relevant files for better performance. Without the optimization, these two functions may check more than 100k file names in the pre-installed APK files, which can take a few seconds to finish even on a recent device. (cherry-pick of 34fe3df8519523dbb4bc27010fa57f259d5e868d) Bug: 21957428 Change-Id: I5ebe0438019958d883a7fda6bd92ea4484211d23