summaryrefslogtreecommitdiff
path: root/src/com/android/dreams/phototable/EdgeSwipeDetector.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/dreams/phototable/EdgeSwipeDetector.java')
-rw-r--r--src/com/android/dreams/phototable/EdgeSwipeDetector.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/dreams/phototable/EdgeSwipeDetector.java b/src/com/android/dreams/phototable/EdgeSwipeDetector.java
index 98ad6c6..e5ca23d 100644
--- a/src/com/android/dreams/phototable/EdgeSwipeDetector.java
+++ b/src/com/android/dreams/phototable/EdgeSwipeDetector.java
@@ -23,6 +23,7 @@ import android.view.MotionEvent;
* Detect and dispatch edge events.
*/
public class EdgeSwipeDetector {
+ @SuppressWarnings("unused")
private static final String TAG = "EdgeSwipeDetector";
private float mEdgeSwipeGutter;
private float mEdgeSwipeThreshold;
@@ -61,7 +62,7 @@ public class EdgeSwipeDetector {
* mEdgeSwipeThreshold;
if (event.getX() > enough) {
if (mTable.hasFocus()) {
- mTable.fling(mTable.getFocused());
+ mTable.fling(mTable.getFocus());
} else if (mTable.hasSelection()) {
mTable.clearSelection();
}