summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2025-03-17 07:04:47 -0700
committer Prabir Pradhan <prabirmsp@google.com> 2025-03-17 07:04:47 -0700
commit68360b44e93d7d20bc196ca040723e6e8ac29a47 (patch)
treedeb61f311c74eadff8293c23560f18320013fcf9
parente70697374929b68afcd14561a0b2a3290050bd0d (diff)
InputDispatcher: Initialize mWindowInfosVsyncId
Bug: 402990967 Flag: EXEMPT bug fix Test: Presubmit Change-Id: Ib8f99c0285df211362a02e92063e3c78bf26b9fb
-rw-r--r--services/inputflinger/dispatcher/InputDispatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/inputflinger/dispatcher/InputDispatcher.cpp b/services/inputflinger/dispatcher/InputDispatcher.cpp
index 5491ab78b4..95e1c06615 100644
--- a/services/inputflinger/dispatcher/InputDispatcher.cpp
+++ b/services/inputflinger/dispatcher/InputDispatcher.cpp
@@ -934,6 +934,7 @@ InputDispatcher::InputDispatcher(InputDispatcherPolicyInterface& policy,
mPendingEvent(nullptr),
mLastDropReason(DropReason::NOT_DROPPED),
mIdGenerator(IdGenerator::Source::INPUT_DISPATCHER),
+ mWindowInfosVsyncId(-1),
mMinTimeBetweenUserActivityPokes(DEFAULT_USER_ACTIVITY_POKE_INTERVAL),
mConnectionManager(mLooper),
mTouchStates(mWindowInfos, mConnectionManager),