commit | ff701a6a65f6e1f13bfb0b4561f0dd14272b4820 | [log] [tgz] |
---|---|---|
author | Torne (Richard Coles) <torne@google.com> | Wed Jul 30 12:11:15 2014 +0100 |
committer | Torne (Richard Coles) <torne@google.com> | Wed Jul 30 12:14:40 2014 +0100 |
tree | a96986049766b2e0b7751ce97de211056fce159e | |
parent | 6c9eee87476411faebcfa68c82abaae86344ef91 [diff] |
Parse system properties that are lists correctly. String.split() returns a one-element array of the empty string if the input is the empty string, not a zero-element array. Introduce a getStringList function to handle this consistently in the cases where system properties are parsed as comma separated lists. The main result is that SUPPORTED_64_BIT_ABIS will now correctly be empty on a 32-bit only device. Change-Id: I6f74b48d0a6ced3cd6d49c05aad6a4b7e0b074d2