diff options
author | Siarhei Vishniakou <svv@google.com> | 2019-12-09 16:58:29 -0800 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2019-12-10 13:47:08 -0800 |
commit | c490e7acdeaf682275cb687684e82ac984ab4a61 (patch) | |
tree | 11a5b0a8a9113e852ff79b8c4daee1a60839025a /rs/java/android/renderscript/ProgramStore.java | |
parent | 9a02feacd280ac57ae3d1b4e9df5ba4190b0d0d1 (diff) |
Use switch statement for report types
We are adding new report types, and it is easier to use switch
statements to ensure that the default case is handled.
Also, expand the diagnostic messaging for SET_REPORT type, because it is
useful to see the actual data.
Bug: none
Test: atest NintendoSwitchProTest
Change-Id: I330e3b1464ae8e35a57d448e460cdb55ebbf6260
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions