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

Commit 5e97bd2a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Make Log.isLogagble @FastNative" into rvc-dev am: 87500a84

Change-Id: I71b7320dacdf4bcb868fa3ccd2e0e3f813050645
parents b39ce8b1 87500a84
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -27,6 +27,8 @@ import com.android.internal.os.RuntimeInit;
import com.android.internal.util.FastPrintWriter;
import com.android.internal.util.FastPrintWriter;
import com.android.internal.util.LineBreakBufferedWriter;
import com.android.internal.util.LineBreakBufferedWriter;


import dalvik.annotation.optimization.FastNative;

import java.io.PrintWriter;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.io.Writer;
@@ -228,6 +230,7 @@ public final class Log {
     *         for Nougat (7.0) releases (API <= 23) and prior, there is no
     *         for Nougat (7.0) releases (API <= 23) and prior, there is no
     *         tag limit of concern after this API level.
     *         tag limit of concern after this API level.
     */
     */
    @FastNative
    public static native boolean isLoggable(@Nullable String tag, @Level int level);
    public static native boolean isLoggable(@Nullable String tag, @Level int level);


    /**
    /**