summaryrefslogtreecommitdiffstats
path: root/gui/partitionlist.cpp
diff options
context:
space:
mode:
authorVojtech Bocek <vbocek@gmail.com>2014-02-08 02:21:23 +0100
committerVojtech Bocek <vbocek@gmail.com>2014-02-08 02:22:23 +0100
commit5af8f3faca69918adb1a8a97f7f04b9618031c9b (patch)
tree775b04bf45754ad73107de6016702cd5cbafda2b /gui/partitionlist.cpp
parentMerge "Additional mount function call without mount options" into android-4.4 (diff)
downloadandroid_bootable_recovery-5af8f3faca69918adb1a8a97f7f04b9618031c9b.tar
android_bootable_recovery-5af8f3faca69918adb1a8a97f7f04b9618031c9b.tar.gz
android_bootable_recovery-5af8f3faca69918adb1a8a97f7f04b9618031c9b.tar.bz2
android_bootable_recovery-5af8f3faca69918adb1a8a97f7f04b9618031c9b.tar.lz
android_bootable_recovery-5af8f3faca69918adb1a8a97f7f04b9618031c9b.tar.xz
android_bootable_recovery-5af8f3faca69918adb1a8a97f7f04b9618031c9b.tar.zst
android_bootable_recovery-5af8f3faca69918adb1a8a97f7f04b9618031c9b.zip
Diffstat (limited to 'gui/partitionlist.cpp')
-rw-r--r--gui/partitionlist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/partitionlist.cpp b/gui/partitionlist.cpp
index abe0a38ad..35bf702bb 100644
--- a/gui/partitionlist.cpp
+++ b/gui/partitionlist.cpp
@@ -735,6 +735,8 @@ int GUIPartitionList::NotifyTouch(TOUCH_STATE state, int x, int y)
}
if (actualSelection < listSize && ListType == "mount") {
+ DataManager::Vibrate("tw_button_vibrate");
+
if (!mList.at(actualSelection).selected) {
if (PartitionManager.Mount_By_Path(mList.at(actualSelection).Mount_Point, true)) {
mList.at(actualSelection).selected = 1;
@@ -747,6 +749,8 @@ int GUIPartitionList::NotifyTouch(TOUCH_STATE state, int x, int y)
}
}
} else if (actualSelection < listSize && !mVariable.empty()) {
+ DataManager::Vibrate("tw_button_vibrate");
+
if (ListType == "storage") {
int i;
std::string str = mList.at(actualSelection).Mount_Point;