diff options
| author | 2017-03-28 14:23:18 +0000 | |
|---|---|---|
| committer | 2017-03-28 14:23:22 +0000 | |
| commit | 9d2a3adfdfe35861796c0c153c8a0dc217ac4dea (patch) | |
| tree | 186e974312c8ad1121e155c95f77f97e923897ce | |
| parent | bc44678fb13fbad0b29a92587e9c807a7b185cb5 (diff) | |
| parent | b5ab25948bc1b667f079c1563791f93e7b2f84d8 (diff) | |
Merge "SmartSelection: Pass hintFlags to native library." into oc-dev
| -rw-r--r-- | core/java/android/view/textclassifier/SmartSelection.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/textclassifier/SmartSelection.java b/core/java/android/view/textclassifier/SmartSelection.java index c68c4492d4ba..f0f39b683fbd 100644 --- a/core/java/android/view/textclassifier/SmartSelection.java +++ b/core/java/android/view/textclassifier/SmartSelection.java @@ -65,7 +65,7 @@ final class SmartSelection { */ public ClassificationResult[] classifyText( String context, int selectionBegin, int selectionEnd, int hintFlags) { - return nativeClassifyText(mCtx, context, selectionBegin, selectionEnd); + return nativeClassifyText(mCtx, context, selectionBegin, selectionEnd, hintFlags); } /** @@ -81,7 +81,7 @@ final class SmartSelection { long context, String text, int selectionBegin, int selectionEnd); private static native ClassificationResult[] nativeClassifyText( - long context, String text, int selectionBegin, int selectionEnd); + long context, String text, int selectionBegin, int selectionEnd, int hintFlags); private static native void nativeClose(long context); |