commit | 86587285cbd5292b28ee51d42210b50623c3f9f3 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Sep 09 18:20:15 2019 +0100 |
committer | Siarhei Vishniakou <svv@google.com> | Tue Sep 24 16:57:35 2019 +0100 |
tree | 956b40efafee78ae8e125c538bd02c92d2acae76 | |
parent | 6cd19a422afe967eb20c5c3eee2b36a29f52c495 [diff] |
Use static bool instead of define The defines for debugging prevent compilers from compiling the code, as well as make the code harder to read due to identation. Using static bools helps ensure that the code inside the debugging logic compiles, and a decent compiler should be able to remove the dead code anyways. Test: adb logcat and inspect the InputDispatcher logs for when debugging is true Bug: 70668286 Change-Id: If1a057da4193f965e35d2ca7c1bf39249b9222fa