diff options
author | Pablo Gamito <pablogamito@google.com> | 2020-09-12 15:49:39 +0000 |
---|---|---|
committer | Pablo Gamito <pablogamito@google.com> | 2020-10-01 18:39:21 +0000 |
commit | 11dcc2207f651acf836aa611e48ce75db90258b0 (patch) | |
tree | ff47bdb8a7bd426b1bc9be8f37b18dddbdd47f4b /libs/gui/tests/EndToEndNativeInputTest.cpp | |
parent | 97651d23e882aa8cb24d1a6b45808a549474bcb6 (diff) |
Pass surface control instead of handle as reference to layers in
LayerState
Allows us to have access to the layer id stored in surface control so that it can be dumped when tracing the transaction merges
Test: Existing tests
Change-Id: I3e466c69585937d8ce74a29a49fdbb7b3353a460
Diffstat (limited to 'libs/gui/tests/EndToEndNativeInputTest.cpp')
-rw-r--r-- | libs/gui/tests/EndToEndNativeInputTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/tests/EndToEndNativeInputTest.cpp b/libs/gui/tests/EndToEndNativeInputTest.cpp index ef4d870ec7..483f171564 100644 --- a/libs/gui/tests/EndToEndNativeInputTest.cpp +++ b/libs/gui/tests/EndToEndNativeInputTest.cpp @@ -381,7 +381,7 @@ TEST_F(InputSurfacesTest, input_respects_cropped_surface_insets) { childSurface->doTransaction([&](auto &t, auto &sc) { t.setPosition(sc, -5, -5); - t.reparent(sc, parentSurface->mSurfaceControl->getHandle()); + t.reparent(sc, parentSurface->mSurfaceControl); }); injectTap(106, 106); |