fixup! recovery: touch UI
Change-Id: Ia5348e6bb72c28af19c028dec3989c158b2376c1
diff --git a/recovery_ui/ui.cpp b/recovery_ui/ui.cpp
index 8656729..7e8a56f 100644
--- a/recovery_ui/ui.cpp
+++ b/recovery_ui/ui.cpp
@@ -247,21 +247,6 @@
return true;
}
-enum SwipeDirection { UP, DOWN, RIGHT, LEFT };
-
-static SwipeDirection FlipSwipeDirection(SwipeDirection direction) {
- switch (direction) {
- case UP:
- return SwipeDirection::DOWN;
- case DOWN:
- return SwipeDirection::UP;
- case RIGHT:
- return SwipeDirection::LEFT;
- case LEFT:
- return SwipeDirection::RIGHT;
- }
-}
-
void RecoveryUI::CalibrateTouch(int fd) {
struct input_absinfo info;
static bool calibrated = false;