Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f22c3cd1 authored by Abodunrinwa Toki's avatar Abodunrinwa Toki Committed by android-build-merger
Browse files

Merge "SmartSelection: Pass hintFlags to native library." into oc-dev

am: 9d2a3adf

Change-Id: I91d28a51e5096c6afdbe0264ac7bd71aaf6ac075
parents 089a2471 9d2a3adf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);