commit | 5f660f40c7998abc42c6df4b1aae5ca4cb5e1a4a | [log] [tgz] |
---|---|---|
author | vadimt <vadimt@google.com> | Tue Sep 24 18:18:35 2019 -0700 |
committer | vadimt <vadimt@google.com> | Tue Sep 24 18:18:35 2019 -0700 |
tree | 474877440d7436f8c14ef7b50219ccdb9c83c6a3 | |
parent | 6929199c8a568bc32a5a423680fc008ef499a1d5 [diff] |
Remove unused getDisplayDensity Change-Id: I4c63f4f8c0b0d8596e6b2db9839af059961157a8
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 65208ce..93bf9af 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -845,10 +845,6 @@ mDevice.waitForIdle(); } - float getDisplayDensity() { - return mInstrumentation.getTargetContext().getResources().getDisplayMetrics().density; - } - int getTouchSlop() { return ViewConfiguration.get(getContext()).getScaledTouchSlop(); }