From 8a5c41d38c9580cec6d87f1170e0b03973ac9254 Mon Sep 17 00:00:00 2001 From: Prabir Pradhan Date: Thu, 8 Jun 2023 19:13:46 +0000 Subject: Use a strongly typed Uid in WindowInfo Bug: 286428012 Test: presubmit Change-Id: I039e2892274b293eeea4a167d748234a4170541e --- services/surfaceflinger/Layer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/surfaceflinger/Layer.cpp') diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index f627501c4f..c413741124 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; -- cgit v1.2.3-59-g8ed1b