commit | 8a5c41d38c9580cec6d87f1170e0b03973ac9254 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Thu Jun 08 19:13:46 2023 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Tue Jun 20 19:43:39 2023 +0000 |
tree | ac336a82fb6ae222b5c694fd5868ce669219872f | |
parent | 6778bd40c51ffa583f0533d00d2c7230a630b20c [diff] [blame] |
Use a strongly typed Uid in WindowInfo Bug: 286428012 Test: presubmit Change-Id: I039e2892274b293eeea4a167d748234a4170541e
diff --git a/services/inputflinger/dispatcher/InjectionState.cpp b/services/inputflinger/dispatcher/InjectionState.cpp index c2d3ad6..053594b 100644 --- a/services/inputflinger/dispatcher/InjectionState.cpp +++ b/services/inputflinger/dispatcher/InjectionState.cpp
@@ -20,7 +20,7 @@ namespace android::inputdispatcher { -InjectionState::InjectionState(const std::optional<int32_t>& targetUid) +InjectionState::InjectionState(const std::optional<gui::Uid>& targetUid) : refCount(1), targetUid(targetUid), injectionResult(android::os::InputEventInjectionResult::PENDING),