commit | a042c02441cb825e53c48a8bcc7866454204a048 | [log] [tgz] |
---|---|---|
author | Antonio Kantek <kanant@google.com> | Wed Jul 06 16:51:07 2022 -0700 |
committer | Antonio Kantek <kanant@google.com> | Wed Jul 13 22:59:35 2022 +0000 |
tree | 74b5f4f140a79257a0c4e8a23ccb74c1f3720017 | |
parent | 4f4aff66c60ed16e9f089693ef0a64ea227c9a62 [diff] [blame] |
(touch-mode-md 1.1/n) Initialize per display touch mode (native) Include perDisplayTouchModeEnabled in InputDispatcherPolicy. Bug: 198499018 Test: atest inputflinger_tests inputflinger_benchmarks Test: atest TouchModeTest Change-Id: Idc6ad970bd651a8270055d3f197c4a680c00d350
diff --git a/services/inputflinger/benchmarks/InputDispatcher_benchmarks.cpp b/services/inputflinger/benchmarks/InputDispatcher_benchmarks.cpp index ec5841c..c9ea068 100644 --- a/services/inputflinger/benchmarks/InputDispatcher_benchmarks.cpp +++ b/services/inputflinger/benchmarks/InputDispatcher_benchmarks.cpp
@@ -112,6 +112,8 @@ void notifyDropWindow(const sp<IBinder>&, float x, float y) override {} + bool isPerDisplayTouchModeEnabled() override { return false; } + InputDispatcherConfiguration mConfig; };