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

Commit 099ff112 authored by Abodunrinwa Toki's avatar Abodunrinwa Toki
Browse files

Use the textclassifier library for smart selection

Test: cts-tradefed run cts-dev -m CtsViewTestCases -t android.view.textclassifier.cts.TextClassificationManagerTest
Bug: 34780447
Change-Id: I090654f266a214cba9346f954e14d8878146e343
parent 61f31c7b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ package android.view.textclassifier;
final class LangId {

    static {
        System.loadLibrary("smart-selection_jni");
        System.loadLibrary("textclassifier");
    }

    private final long mModelPtr;
+1 −2
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ package android.view.textclassifier;
final class SmartSelection {

    static {
        System.loadLibrary("smart-selection_jni");
        System.loadLibrary("textclassifier");
    }

    private final long mCtx;
@@ -92,4 +92,3 @@ final class SmartSelection {
        }
    }
}
+1 −0
Original line number Diff line number Diff line
@@ -287,6 +287,7 @@ LOCAL_SHARED_LIBRARIES := \
    libhwbinder \
    libvintf \
    libnativewindow \
    libtextclassifier \

LOCAL_SHARED_LIBRARIES += \
    libhwui \