summaryrefslogtreecommitdiffstats
path: root/gui/button.cpp
diff options
context:
space:
mode:
authorSamer Diab (S.a.M.e.R_d) <remasdiab@gmail.com>2014-01-07 21:18:47 +0100
committerGerrit Code Review <gerrit2@gerrit>2014-02-06 20:27:28 +0100
commit71e9b049c21fb01d558f49844d17e792c347a930 (patch)
treea150e27f45af15339211d6f8333c6a03dba0b412 /gui/button.cpp
parentMerge "Load RTC offset on Qualcomm Krait chips, fixes the broken time & date" into android-4.4 (diff)
downloadandroid_bootable_recovery-71e9b049c21fb01d558f49844d17e792c347a930.tar
android_bootable_recovery-71e9b049c21fb01d558f49844d17e792c347a930.tar.gz
android_bootable_recovery-71e9b049c21fb01d558f49844d17e792c347a930.tar.bz2
android_bootable_recovery-71e9b049c21fb01d558f49844d17e792c347a930.tar.lz
android_bootable_recovery-71e9b049c21fb01d558f49844d17e792c347a930.tar.xz
android_bootable_recovery-71e9b049c21fb01d558f49844d17e792c347a930.tar.zst
android_bootable_recovery-71e9b049c21fb01d558f49844d17e792c347a930.zip
Diffstat (limited to 'gui/button.cpp')
-rw-r--r--gui/button.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/button.cpp b/gui/button.cpp
index be52c277e..ca386beed 100644
--- a/gui/button.cpp
+++ b/gui/button.cpp
@@ -30,6 +30,7 @@
#include <time.h>
#include <unistd.h>
#include <stdlib.h>
+#include "../data.hpp"
#include <string>
@@ -280,6 +281,7 @@ int GUIButton::NotifyTouch(TOUCH_STATE state, int x, int y)
} else {
if (last_state == 0) {
last_state = 1;
+ DataManager::Vibrate("tw_vibrate");
if (mButtonLabel != NULL)
mButtonLabel->isHighlighted = true;
if (mButtonImg != NULL)