aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/gesture/gesture_decoder_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'native/jni/src/gesture/gesture_decoder_wrapper.h')
-rw-r--r--native/jni/src/gesture/gesture_decoder_wrapper.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/native/jni/src/gesture/gesture_decoder_wrapper.h b/native/jni/src/gesture/gesture_decoder_wrapper.h
index b70c8e0a3..14a0705f7 100644
--- a/native/jni/src/gesture/gesture_decoder_wrapper.h
+++ b/native/jni/src/gesture/gesture_decoder_wrapper.h
@@ -63,13 +63,6 @@ class GestureDecoderWrapper : public IncrementalDecoderInterface {
mIncrementalDecoderInterface->setDict(dict, bigram, dictRoot, rootPos);
}
- void setPrevWord(const int32_t *prevWord, int prevWordLength) {
- if (!mIncrementalDecoderInterface) {
- return;
- }
- mIncrementalDecoderInterface->setPrevWord(prevWord, prevWordLength);
- }
-
static void setGestureDecoderFactoryMethod(
IncrementalDecoderInterface *(*factoryMethod)(int, int)) {
sGestureDecoderFactoryMethod = factoryMethod;