commit | da8c037c8b3b36d2edc42595cbf3a18d345c1489 | [log] [tgz] |
---|---|---|
author | Torne (Richard Coles) <torne@google.com> | Wed May 14 16:17:26 2014 +0100 |
committer | Torne (Richard Coles) <torne@google.com> | Wed May 14 16:17:26 2014 +0100 |
tree | a0a9e6f472106fd54ade8df6645d321b831c162d | |
parent | b7d7cbc9c3a9315a5c5ecd85e16f5916c4bc3f3a [diff] |
Avoid supported ABI list containing "unknown". If one of the ABI list system properties is undefined/empty (as ro.product.cpu.abilist64 is on a 32-bit only device), getString returns "unknown", which ends up creating a 1-element array with "unknown" as a member. Fix this to instead just get the empty string and split that into a 0-element array. Change-Id: I0d0a54eb06bb04427bcf0487e2a16d4180b81116