summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Mouri <alecmouri@google.com>2020-08-07 11:37:31 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-08-19 02:19:08 +0000
commit426d1e21ab62f768ea1008d5614811a5aaecc6b7 (patch)
tree11fedb5a4485bfbb0d6e71866a7d531951e45231
parent019ea5cc1ba9d967357d7a4427af93ca32c46547 (diff)
downloadbase-426d1e21ab62f768ea1008d5614811a5aaecc6b7.tar.gz
Support dispatchNullEvent virtual method
Added for AChoreographer in I66abc2e28e60f06987ce3a54be294c94b77524fc Bug: 154874011 Bug: 158680912 Bug: 161406626 Test: builds Change-Id: Iac1f8eafc4d25a5a7c8b6d8eed3f6686705fc2fb Merged-In: Iac1f8eafc4d25a5a7c8b6d8eed3f6686705fc2fb (cherry picked from commit 1315f1105e22066579f009facf60bc538d21d9fd)
-rw-r--r--core/jni/android_view_DisplayEventReceiver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/jni/android_view_DisplayEventReceiver.cpp b/core/jni/android_view_DisplayEventReceiver.cpp
index 7daefd3e6544..26e862f4c03d 100644
--- a/core/jni/android_view_DisplayEventReceiver.cpp
+++ b/core/jni/android_view_DisplayEventReceiver.cpp
@@ -63,6 +63,7 @@ private:
void dispatchHotplug(nsecs_t timestamp, PhysicalDisplayId displayId, bool connected) override;
void dispatchConfigChanged(nsecs_t timestamp, PhysicalDisplayId displayId,
int32_t configId, nsecs_t vsyncPeriod) override;
+ void dispatchNullEvent(nsecs_t timestamp, PhysicalDisplayId displayId) override {}
};