summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2017-03-28 14:23:18 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-03-28 14:23:22 +0000
commit9d2a3adfdfe35861796c0c153c8a0dc217ac4dea (patch)
tree186e974312c8ad1121e155c95f77f97e923897ce
parentbc44678fb13fbad0b29a92587e9c807a7b185cb5 (diff)
parentb5ab25948bc1b667f079c1563791f93e7b2f84d8 (diff)
Merge "SmartSelection: Pass hintFlags to native library." into oc-dev
-rw-r--r--core/java/android/view/textclassifier/SmartSelection.java4
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);