From 75f0ab69bb9ae7132ae3f03d5d0964244433f81c Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Fri, 7 Nov 2014 18:02:13 +0900 Subject: [PATCH] Fix tests Oops. Change-Id: Ib7c8c8284b55a6a6db5b5806ff40188fd06b57fb --- .../android/inputmethod/latin/common/NativeSuggestOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/com/android/inputmethod/latin/common/NativeSuggestOptions.java b/common/src/com/android/inputmethod/latin/common/NativeSuggestOptions.java index 1fb0b2cf5..7ef741cc2 100644 --- a/common/src/com/android/inputmethod/latin/common/NativeSuggestOptions.java +++ b/common/src/com/android/inputmethod/latin/common/NativeSuggestOptions.java @@ -28,7 +28,7 @@ public class NativeSuggestOptions { private final int[] mOptions; public NativeSuggestOptions(final int additionalFeaturesSettingsSize) { - mOptions = new int[additionalFeaturesSettingsSize]; + mOptions = new int[OPTIONS_SIZE + additionalFeaturesSettingsSize]; } public void setIsGesture(final boolean value) {