From 5f660f40c7998abc42c6df4b1aae5ca4cb5e1a4a Mon Sep 17 00:00:00 2001 From: vadimt Date: Tue, 24 Sep 2019 18:18:35 -0700 Subject: [PATCH] Remove unused getDisplayDensity Change-Id: I4c63f4f8c0b0d8596e6b2db9839af059961157a8 --- .../com/android/launcher3/tapl/LauncherInstrumentation.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 65208ceb58..93bf9af87b 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -845,10 +845,6 @@ public final class LauncherInstrumentation { mDevice.waitForIdle(); } - float getDisplayDensity() { - return mInstrumentation.getTargetContext().getResources().getDisplayMetrics().density; - } - int getTouchSlop() { return ViewConfiguration.get(getContext()).getScaledTouchSlop(); }