commit | 6c4243bfedc2ad66c92a7bc470be1470cf99b2f7 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Wed Jul 22 12:07:12 2020 -0700 |
committer | Chris Ye <lzye@google.com> | Tue Jul 28 18:01:10 2020 -0700 |
tree | 633879c0c5b9236f14f295823e9e0e9faf914799 | |
parent | 30cb610116c678d5c03e3e2113fd02d67c631691 [diff] [blame] |
Use AIDL compiler to generate InputApplicationInfo class. Define parcelable structure in AIDL file to skip manual code of parcel read and write. Bug: 160178917 Test: atest libinput_tests Change-Id: Ic7a5a0b383fdb5784b9b8cdb0ee5acce30b89223
diff --git a/services/inputflinger/benchmarks/InputDispatcher_benchmarks.cpp b/services/inputflinger/benchmarks/InputDispatcher_benchmarks.cpp index 4e4af7e..5ce9f23 100644 --- a/services/inputflinger/benchmarks/InputDispatcher_benchmarks.cpp +++ b/services/inputflinger/benchmarks/InputDispatcher_benchmarks.cpp
@@ -94,7 +94,7 @@ virtual ~FakeApplicationHandle() {} virtual bool updateInfo() { - mInfo.dispatchingTimeout = DISPATCHING_TIMEOUT; + mInfo.dispatchingTimeoutNanos = DISPATCHING_TIMEOUT.count(); return true; } };