From 989de3d470dca6df8319be87c8f60c0fdc092b25 Mon Sep 17 00:00:00 2001 From: Dominik Laskowski Date: Tue, 27 Jul 2021 21:09:34 -0700 Subject: Use ui::LayerStack Bug: 182939859 Test: Build Change-Id: I4658471996939713a6330a9c4a7d05cf4c91833a --- libs/input/SpriteController.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/input/SpriteController.cpp') diff --git a/libs/input/SpriteController.cpp b/libs/input/SpriteController.cpp index acd8bced0612..12c6a32bd0ad 100644 --- a/libs/input/SpriteController.cpp +++ b/libs/input/SpriteController.cpp @@ -169,7 +169,8 @@ void SpriteController::doUpdateSprites() { // If surface is a new one, we have to set right layer stack. if (update.surfaceChanged || update.state.dirty & DIRTY_DISPLAY_ID) { - t.setLayerStack(update.state.surfaceControl, update.state.displayId); + t.setLayerStack(update.state.surfaceControl, + ui::LayerStack::fromValue(update.state.displayId)); needApplyTransaction = true; } } -- cgit v1.2.3-59-g8ed1b