diff options
author | Matthew Ng <ngmatthew@google.com> | 2018-10-09 16:09:27 -0700 |
---|---|---|
committer | Matthew Ng <ngmatthew@google.com> | 2018-10-09 16:09:27 -0700 |
commit | 5a25020d4b1ef2fc04c3341822555ea89df61234 (patch) | |
tree | 9d9f2f02d413a89ccc2f61b06f81a5fbe9c318e5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions