commit | e59c6dca6eae1ef15d61a4140ca653f9a1e97215 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Tue Jun 13 19:53:03 2023 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Thu Jun 22 19:25:52 2023 +0000 |
tree | e3c71691774dfb60a3c9587616e012ffc10586ea | |
parent | 9437fe1a29c3f7f7c65c00e53ccbf4f1b8cfa9c3 [diff] [blame] |
Use a strongly typed Pid in WindowInfo Bug: 286428012 Test: presubmit Change-Id: I6a3572ff10b259feae74863c0203bb5f085f233f Merged-In: I6a3572ff10b259feae74863c0203bb5f085f233f
diff --git a/services/inputflinger/dispatcher/Monitor.cpp b/services/inputflinger/dispatcher/Monitor.cpp index 43a82d5..204791e 100644 --- a/services/inputflinger/dispatcher/Monitor.cpp +++ b/services/inputflinger/dispatcher/Monitor.cpp
@@ -19,7 +19,7 @@ namespace android::inputdispatcher { // --- Monitor --- -Monitor::Monitor(const std::shared_ptr<InputChannel>& inputChannel, int32_t pid) +Monitor::Monitor(const std::shared_ptr<InputChannel>& inputChannel, gui::Pid pid) : inputChannel(inputChannel), pid(pid) {} } // namespace android::inputdispatcher