TouchExplorerTest: fix run error.

This line should've been removed long ago because we don't even use the object it declares, but it only recently started to throw an exception. I'm surprised this never tripped up presubmit since we haven't touched this test since november.
Bug: 159651900
Test: atest FrameworksServicesTests:TouchExplorerTest

Change-Id: I388edfc5689584b8def7ef421a0bd9be89b71d5b
This commit is contained in:
Ameer Armaly
2021-04-27 13:34:31 -07:00
parent 9c129f1e69
commit 2ce8b0c808

View File

@@ -145,7 +145,6 @@ public class TouchExplorerTest {
}
mContext = InstrumentationRegistry.getContext();
mTouchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop();
AccessibilityManagerService ams = new AccessibilityManagerService(mContext);
mCaptor = new EventCaptor();
mHandler = new TestHandler();
mTouchExplorer = new TouchExplorer(mContext, mMockAms, null, mHandler);