commit | 50c19b1ae3f6a80d18a5d9dea77146b94c71b009 | [log] [tgz] |
---|---|---|
author | Yuncheol Heo <ycheo@google.com> | Wed Nov 02 20:33:08 2022 -0700 |
committer | Yuncheol Heo <ycheo@google.com> | Thu Nov 03 11:23:53 2022 -0700 |
tree | b9826a359e0e0a67ee59bc53b1600d22d74c800a | |
parent | 4c9142ee597fe7445d5363e7e57d43c0bcc6dc9c [diff] [blame] |
Add a config to allow touches while the display is off. Bug: 255462169 Test: atest inputflinger_tests Change-Id: I4904ccda5c7ba3c204c89af61fbf0bfca22475ba
diff --git a/services/inputflinger/reader/mapper/TouchInputMapper.h b/services/inputflinger/reader/mapper/TouchInputMapper.h index 2bb9ece..bab15cc 100644 --- a/services/inputflinger/reader/mapper/TouchInputMapper.h +++ b/services/inputflinger/reader/mapper/TouchInputMapper.h
@@ -236,6 +236,9 @@ // Whether the device supports the Universal Stylus Initiative (USI) protocol for styluses. bool supportsUsi; + + // Allows touches while the display is off. + bool enableForInactiveViewport; } mParameters; // Immutable calibration parameters in parsed form.