diff options
author | 2021-07-27 21:09:34 -0700 | |
---|---|---|
committer | 2021-07-27 21:12:18 -0700 | |
commit | 989de3d470dca6df8319be87c8f60c0fdc092b25 (patch) | |
tree | 43257f3a66ec2328bf54e5978874c3f43c6f338f /libs/input/SpriteController.cpp | |
parent | acccd67afc0816199c340f68ddde127d6bff8055 (diff) |
Use ui::LayerStack
Bug: 182939859
Test: Build
Change-Id: I4658471996939713a6330a9c4a7d05cf4c91833a
Diffstat (limited to 'libs/input/SpriteController.cpp')
-rw-r--r-- | libs/input/SpriteController.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } } |