commit | 18e99c128848d1467205222fc97f76056da54159 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Mar 06 15:29:06 2015 -0800 |
committer | Andreas Gampe <agampe@google.com> | Sat Mar 07 00:18:15 2015 +0000 |
tree | 13e9c83c333c7d8d37fea2026adf030f43d4b716 | |
parent | e59b7ce2564a916240e561b36f4476f2d72a65c5 [diff] |
Frameworks/base: Remove unnecessary Pattern instance Using a static Pattern in ActivityThread prevents compile-time initialization of ActivityThread and GestureDetector, which depends on the former. It is also not efficient, as String.split has a fast path for simple splits. Bug: 19542228 Change-Id: I5bb843c08c81e0d259bb8afafa87a8467bb1730e