From 33cbd1fb38d77d261758d5118e24208462a23f89 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Fri, 3 Oct 2014 19:35:18 +0900 Subject: [PATCH] Align a compat file for a change in native signature Change-Id: I89eb530c1a44e5ea9b5fcb37c792cb8c81d6dc1c --- .../com/android/inputmethod/keyboard/ProximityInfo.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/dicttool/compat/com/android/inputmethod/keyboard/ProximityInfo.java b/tools/dicttool/compat/com/android/inputmethod/keyboard/ProximityInfo.java index 561b6637c..3a068bd5a 100644 --- a/tools/dicttool/compat/com/android/inputmethod/keyboard/ProximityInfo.java +++ b/tools/dicttool/compat/com/android/inputmethod/keyboard/ProximityInfo.java @@ -18,11 +18,10 @@ package com.android.inputmethod.keyboard; public class ProximityInfo { public long getNativeProximityInfo() { return 0l; } - private static native long setProximityInfoNative(String locale, - int displayWidth, int displayHeight, int gridWidth, int gridHeight, - int mostCommonKeyWidth, int mostCommonKeyHeight, int[] proximityCharsArray, - int keyCount, int[] keyXCoordinates, int[] keyYCoordinates, int[] keyWidths, - int[] keyHeights, int[] keyCharCodes, float[] sweetSpotCenterXs, + private static native long setProximityInfoNative(int displayWidth, int displayHeight, + int gridWidth, int gridHeight, int mostCommonKeyWidth, int mostCommonKeyHeight, + int[] proximityCharsArray, int keyCount, int[] keyXCoordinates, int[] keyYCoordinates, + int[] keyWidths, int[] keyHeights, int[] keyCharCodes, float[] sweetSpotCenterXs, float[] sweetSpotCenterYs, float[] sweetSpotRadii); private static native void releaseProximityInfoNative(long nativeProximityInfo); }