commit | f51fe4eb2c714ce127cd1956502983b978bc70e2 | [log] [tgz] |
---|---|---|
author | Rakesh Iyer <rni@google.com> | Tue Feb 09 10:51:50 2016 -0800 |
committer | Rakesh Iyer <rni@google.com> | Tue Feb 09 10:51:50 2016 -0800 |
tree | 5796a9743ac1e58cdd52c62738dd3514aafbd4fc | |
parent | eddbff07c42684596e9d2121958fee86cfb70142 [diff] |
Fix a crash in SystemUI when using CarNavigationBar. CarNavigationBar overrides getCurrentView() in phone NavigationBarView but the dump() method in NavigationBarView uses mCurrentView directly, which may be null in the auto case. Callign getCurrentView() returns the correct overriden view. This patch makes the change to dump() to use getCurrentView(). Bug: 27046536 Change-Id: I92e5655325247d27faac1e33d8622783652bdb10