commit | 10b7734cb0948d5152d3b15e93360407f66c5925 | [log] [tgz] |
---|---|---|
author | Jim Kaye <jameskaye@google.com> | Wed Sep 11 15:42:47 2019 -0700 |
committer | Felipe Leme <felipeal@google.com> | Fri Sep 13 16:14:00 2019 +0000 |
tree | 5405aab2c6effc438b4623a0fd2ca8421fba66d8 | |
parent | 7ca00a8b877b47466c54c56df46c73142408f692 [diff] |
[AAE display] Disable touch input when the display is off Disable touch inputs when we turn the display off. This prevents the user from waking the system by touching a dark display. (Which could otherwise happen in Garage Mode.) This CL also re-enables touch input when we turn the display on. Fixes: 140564727 Test: On Hawk using 'adb shell dumpsys car_service suspend' Merged-In: I29a218a4a98ab65ff1742143d7a4213e8f2c4eaa Change-Id: I29a218a4a98ab65ff1742143d7a4213e8f2c4eaa
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.