commit | 44d3900a5d8fd343e1041ae61481534353f56316 | [log] [tgz] |
---|---|---|
author | Mads Ager <ager@google.com> | Tue Nov 27 07:18:28 2018 +0100 |
committer | Mads Ager <ager@google.com> | Tue Nov 27 07:18:30 2018 +0100 |
tree | b53dc391ba29dcd94edb29d059325c5dd35dde2d | |
parent | 9c7e15dfb838091487bef430d2fdb8ebc1f4414d [diff] |
Do not use regexps to parse simple version strings. This saves 5-10ms on a JellyBean Samsung Nexus S for the check to see whether the VM supports multidex natively. On a newer Samsung S7 phone it saves 0.5 ms. Test: manually tested on old and new devices. Bug: 74259172 Change-Id: Ic05645deb5b4b990d07c726aa0fdd5f0cfa5884b