Add support to Java for RS tracing.
Change-Id: I95c365345fea3a1e132a7eb2270d541be0745d02
diff --git a/graphics/java/android/renderscript/RenderScript.java b/graphics/java/android/renderscript/RenderScript.java
index 38aa442..8071073 100644
--- a/graphics/java/android/renderscript/RenderScript.java
+++ b/graphics/java/android/renderscript/RenderScript.java
@@ -30,8 +30,7 @@
import android.util.Log;
import android.view.Surface;
import android.os.SystemProperties;
-
-
+import android.os.Trace;
/**
* Renderscript base master class. An instance of this class creates native
@@ -46,6 +45,8 @@
* </div>
**/
public class RenderScript {
+ static final long TRACE_TAG = Trace.TRACE_TAG_RS;
+
static final String LOG_TAG = "RenderScript_jni";
static final boolean DEBUG = false;
@SuppressWarnings({"UnusedDeclaration", "deprecation"})