aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-10-15 13:59:35 -0700
committerTadashi G. Takaoka <takaoka@google.com>2012-10-17 21:40:02 -0700
commit5faf41951929301af80026bc3191812ef874fd5a (patch)
tree081256131126f03aec64a6643918aa802cb23f77 /java/src
parent8e360c68f1861a70fdb91652334efa513e25fcd2 (diff)
downloadlatinime-5faf41951929301af80026bc3191812ef874fd5a.tar.gz
latinime-5faf41951929301af80026bc3191812ef874fd5a.tar.xz
latinime-5faf41951929301af80026bc3191812ef874fd5a.zip
Suggestion strip will honor haptic feedback settings of keyboard
Bug: 7313372 Change-Id: I427da8de68be3d2a78e810556340b96ab4edcc2d
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
index 6056af95c..3cf5857fc 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
@@ -61,6 +61,7 @@ import com.android.inputmethod.keyboard.PointerTracker;
import com.android.inputmethod.keyboard.ViewLayoutUtils;
import com.android.inputmethod.latin.AutoCorrection;
import com.android.inputmethod.latin.CollectionUtils;
+import com.android.inputmethod.latin.Constants;
import com.android.inputmethod.latin.LatinImeLogger;
import com.android.inputmethod.latin.R;
import com.android.inputmethod.latin.ResourceUtils;
@@ -752,6 +753,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
@Override
public boolean onLongClick(final View view) {
+ KeyboardSwitcher.getInstance().hapticAndAudioFeedback(Constants.NOT_A_CODE);
return showMoreSuggestions();
}