commit | 06d3e8fec7e2b29f99d755bee849023d88957953 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Thu Jan 05 17:03:55 2017 -0800 |
committer | Adam Lesinski <adamlesinski@google.com> | Fri Jan 06 16:51:48 2017 -0800 |
tree | 328055c7a9632e9660e836d4dfd0cfcc0450700e | |
parent | 0a454c39cb5bc03cd646546aa3b8baaed1962178 [diff] |
libandroidfw: Revert null check in ApplyStyle The out parameter `out_indices` is expected to be non-null and so the extra null check adds a cost to performance and opens the door to misusing the API by not supplying `out_indices`. Test: make libandroidfw_tests Change-Id: Ie66fd837c5e24ec2838156e7b67f54c15cd27933