19 lines
512 B
Java
19 lines
512 B
Java
// Copyright 2014 The Chromium Authors
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
package org.chromium.base;
|
|
|
|
import org.jni_zero.CalledByNative;
|
|
import org.jni_zero.JNINamespace;
|
|
|
|
/** A simple interface to Android's EventLog to be used by native code. */
|
|
@JNINamespace("base::android")
|
|
public class EventLog {
|
|
|
|
@CalledByNative
|
|
public static void writeEvent(int tag, int value) {
|
|
android.util.EventLog.writeEvent(tag, value);
|
|
}
|
|
}
|