Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a05e229c authored by Peiyong Lin's avatar Peiyong Lin
Browse files

[SurfaceFlinger] Refactor SurfaceInterceptorTest.

Previously, there are multiple places where we enable and disable
SurfaceInterceptor in one single test case, which makes the test fragile. This
patch refactors the code so that each test case will enable the
SurfaceInterceptor at the beginning, and disable the SurfaceInterceptor right
before the trace is captured.

BUG: 65297248
Test: adb shell /data/nativetest64/SurfaceFlinger_test/SurfaceFlinger_test
Change-Id: I96085a7ed2f6eff30932bf0cf13b4e4d59e914ed
parent 5d51a061
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment