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/surfaceflinger/FrontEnd/LayerSnapshot.cpp b/services/surfaceflinger/FrontEnd/LayerSnapshot.cpp index f469a1f..3caeebe 100644 --- a/services/surfaceflinger/FrontEnd/LayerSnapshot.cpp +++ b/services/surfaceflinger/FrontEnd/LayerSnapshot.cpp
@@ -47,7 +47,7 @@ inputInfo.name = state.name; inputInfo.id = static_cast<int32_t>(uniqueSequence); inputInfo.ownerUid = gui::Uid{state.ownerUid}; - inputInfo.ownerPid = state.ownerPid; + inputInfo.ownerPid = gui::Pid{state.ownerPid}; uid = state.ownerUid; pid = state.ownerPid; changes = RequestedLayerState::Changes::Created;