summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-06-21 22:10:03 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-06-21 22:10:03 +0000
commit8a19cadc33e22e5177141d3de1d61b1e599e06fe (patch)
treeb07952699ba7b189cdaafee786a24b0a56a28bdf /services/surfaceflinger/Layer.cpp
parent65fc8649f1e80cd9e0cbc434561655802f34d8b0 (diff)
parent042a7a0b193b832dbe080358bf9c1c7a78c16b95 (diff)
Merge "Use a strongly typed Uid in WindowInfo" into udc-qpr-dev am: 042a7a0b19
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23620817 Change-Id: I3e03087d9aa239d1cc976287aef5c2b71dc991c7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'services/surfaceflinger/Layer.cpp')
-rw-r--r--services/surfaceflinger/Layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index fabcd6168c..a5d7ce7966 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -2452,7 +2452,7 @@ void Layer::handleDropInputMode(gui::WindowInfo& info) const {
WindowInfo Layer::fillInputInfo(const InputDisplayArgs& displayArgs) {
if (!hasInputInfo()) {
mDrawingState.inputInfo.name = getName();
- mDrawingState.inputInfo.ownerUid = mOwnerUid;
+ mDrawingState.inputInfo.ownerUid = gui::Uid{mOwnerUid};
mDrawingState.inputInfo.ownerPid = mOwnerPid;
mDrawingState.inputInfo.inputConfig |= WindowInfo::InputConfig::NO_INPUT_CHANNEL;
mDrawingState.inputInfo.displayId = getLayerStack().id;