commit | 5a25020d4b1ef2fc04c3341822555ea89df61234 | [log] [tgz] |
---|---|---|
author | Matthew Ng <ngmatthew@google.com> | Tue Oct 09 16:09:27 2018 -0700 |
committer | Matthew Ng <ngmatthew@google.com> | Tue Oct 09 16:09:27 2018 -0700 |
tree | 9d9f2f02d413a89ccc2f61b06f81a5fbe9c318e5 | |
parent | 72555ccade99767fef707dc9db7e141b980aab36 [diff] |
Prevent nav mode from being -1 to avoid crash Computing the nav mode would return -1 if there were no difference in sys ui new and old bar mode. When dumping the data from nav bar, it would crash if bar mode was -1 and there is no static constant for -1 bar mode. Therefore prevent setting -1 as a valid bar mode. Test: manual Change-Id: I9747f7aa7273b4bc05d26b08130818f059645187 Fixes: 117324620