Merge "Make Log.isLogagble @FastNative" into rvc-dev am: 87500a84a4
Change-Id: I71b7320dacdf4bcb868fa3ccd2e0e3f813050645
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user