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

Commit bc237ba1 authored by Seigo Nonaka's avatar Seigo Nonaka
Browse files

Remove @FastNative annotation from TextRunShaper

Bug: 194208524
Test: N/A
Change-Id: Ia504b61d7d021f47607a1a657ac60a716b46ff0e
parent f486c0b4
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -24,8 +24,6 @@ import android.text.TextUtils;

import com.android.internal.util.Preconditions;

import dalvik.annotation.optimization.FastNative;

/**
 * Provides conversion from a text into glyph array.
 *
@@ -116,12 +114,10 @@ public class TextRunShaper {
        }
    }

    @FastNative
    private static native long nativeShapeTextRun(
            char[] text, int start, int count, int contextStart, int contextCount,
            boolean isRtl, long nativePaint);

    @FastNative
    private static native long nativeShapeTextRun(
            String text, int start, int count, int contextStart, int contextCount,
            boolean isRtl, long nativePaint);
+0 −1
Original line number Diff line number Diff line
@@ -160,7 +160,6 @@ static jlong TextShaper_Result_nReleaseFunc(CRITICAL_JNI_PARAMS) {
}

static const JNINativeMethod gMethods[] = {
    // Fast Natives
    {"nativeShapeTextRun", "("
        "[C"  // text
        "I"  // start