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

Commit 44e66f51 authored by Seigo Nonaka's avatar Seigo Nonaka Committed by Android (Google) Code Review
Browse files

Merge "Remove @FastNative annotation from TextRunShaper"

parents 214f63f2 bc237ba1
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