diff options
author | 2013-05-22 16:24:37 -0700 | |
---|---|---|
committer | 2013-05-22 16:24:37 -0700 | |
commit | 4e41750d524cfc19768eca778aa72d8f563f385c (patch) | |
tree | 702a3ce1718fb39141763f3fd82170d46ce22485 /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java | |
parent | 5075d07da00ac7e974e74d43c02c84f7f254e97b (diff) | |
parent | 4187499cb0cdd6b2a16d6d90743e411f7b9afc96 (diff) | |
download | latinime-4e41750d524cfc19768eca778aa72d8f563f385c.tar.gz latinime-4e41750d524cfc19768eca778aa72d8f563f385c.tar.xz latinime-4e41750d524cfc19768eca778aa72d8f563f385c.zip |
am 4187499c: Merge "Remove unnecessary methods of KeyboardSwitcher"
* commit '4187499cb0cdd6b2a16d6d90743e411f7b9afc96':
Remove unnecessary methods of KeyboardSwitcher
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java index ad350a02f..1113939d1 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java +++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java @@ -54,6 +54,7 @@ import com.android.inputmethod.keyboard.KeyboardSwitcher; import com.android.inputmethod.keyboard.MainKeyboardView; import com.android.inputmethod.keyboard.MoreKeysPanel; import com.android.inputmethod.keyboard.ViewLayoutUtils; +import com.android.inputmethod.latin.AudioAndHapticFeedbackManager; import com.android.inputmethod.latin.AutoCorrection; import com.android.inputmethod.latin.CollectionUtils; import com.android.inputmethod.latin.Constants; @@ -689,7 +690,8 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick @Override public boolean onLongClick(final View view) { - KeyboardSwitcher.getInstance().hapticAndAudioFeedback(Constants.NOT_A_CODE); + AudioAndHapticFeedbackManager.getInstance().hapticAndAudioFeedback( + Constants.NOT_A_CODE, this); return showMoreSuggestions(); } |