commit | 6909bfd8ee664c6ef93e1d4c1e0c4ba5650fcba9 | [log] [tgz] |
---|---|---|
author | Ashutosh Joshi <ashutoshj@google.com> | Wed Feb 15 17:00:27 2017 -0800 |
committer | Ashutosh Joshi <ashutoshj@google.com> | Wed Feb 15 17:29:19 2017 -0800 |
tree | 58486018ba9576d28505c71ae24819fae1963e64 | |
parent | 77e7273961f330d2fc360f8fdbfffa30ac1cb318 [diff] |
Protect against null strings in hal wrapper implementation. Some HALs may provide null pointers in lieu of empty strings. Avoid simple copies of these strings. Bug: 35384551 Test: Verify affected device (Pixel-C) boots and auto-rotate works. Change-Id: I37ab6e781d6dfdcc1667bcc0467690f7c2c9a557