diff options
| author | 2021-04-27 13:34:31 -0700 | |
|---|---|---|
| committer | 2021-07-27 17:35:50 +0000 | |
| commit | 709848cfdeb3b4acb29abda8f2838e20e50836fe (patch) | |
| tree | 42bd7156efbe455e826a10de6e574bb10d43d264 | |
| parent | 92145ddf77aac1f6cf9816b99086be89ff69f4ab (diff) | |
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. Bug: 194359067
This was fixed in master, but not S.
Test: atest FrameworksServicesTests:TouchExplorerTest
Change-Id: I388edfc5689584b8def7ef421a0bd9be89b71d5b
(cherry picked from commit 2ce8b0c808167dab32fb86a0eed20240f81e3d10)
| -rw-r--r-- | services/tests/servicestests/src/com/android/server/accessibility/gestures/TouchExplorerTest.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/services/tests/servicestests/src/com/android/server/accessibility/gestures/TouchExplorerTest.java b/services/tests/servicestests/src/com/android/server/accessibility/gestures/TouchExplorerTest.java index 7bf0bb873fc3..57ee7aa522c2 100644 --- a/services/tests/servicestests/src/com/android/server/accessibility/gestures/TouchExplorerTest.java +++ b/services/tests/servicestests/src/com/android/server/accessibility/gestures/TouchExplorerTest.java @@ -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); |