summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2019-07-10 15:51:18 -0700
committer Siarhei Vishniakou <svv@google.com> 2019-07-12 10:25:00 -0700
commitc5ae0dc56d828a85b8b609ca29923e58dea3b807 (patch)
tree68975be2ee208a286a2458995818e10ad281f32f /libs/gui/SurfaceControl.cpp
parentd7e7ad748361f6865bfa075e23f30dbf7a6a0e22 (diff)
Improve input devices changed logs
Currently, "reconfiguring input devices" log is hard to read, because it dumps the values as hex. That means, the reader has to go into code to understand what the actual changes are. Furthermore, if the defines are added/removed/modified between releases, it's even harder to debug. To improve this, convert to the actual values before printing. This will also help confirm that these are only ever invoked with a single change. Maybe we can change to enum class then. Bug: 137212522 Test: adb logcat | grep -i "input devices" Change-Id: I6b40d1c785df8a57c9e2619210906d326844d69d Before: InputReader: Reconfiguring input devices. changes=0x00000010 After: InputReader: Reconfiguring input devices, changes=KEYBOARD_LAYOUTS |
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions