diff options
author | Rakesh Iyer <rni@google.com> | 2016-02-09 10:51:50 -0800 |
---|---|---|
committer | Rakesh Iyer <rni@google.com> | 2016-02-09 10:51:50 -0800 |
commit | f51fe4eb2c714ce127cd1956502983b978bc70e2 (patch) | |
tree | 5796a9743ac1e58cdd52c62738dd3514aafbd4fc /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions