summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-07-26 14:13:32 -0700
committerAlex Sakhartchouk <alexst@google.com>2011-07-26 14:13:32 -0700
commit0400b07c6bfc3fca49bc10db0a2040aba8664c8e (patch)
tree6b480b1549f6b77df7255fe09857d054b059fc2e /graphics
parentb33d46cc77b0e96a4d0ff39b85158c5c4eca3855 (diff)
downloadframeworks_base-0400b07c6bfc3fca49bc10db0a2040aba8664c8e.zip
frameworks_base-0400b07c6bfc3fca49bc10db0a2040aba8664c8e.tar.gz
frameworks_base-0400b07c6bfc3fca49bc10db0a2040aba8664c8e.tar.bz2
Add getName to renderscript base object
Change-Id: Ia28f88d2c9d679692778641548fdac08c1041d02
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/renderscript/BaseObj.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/java/android/renderscript/BaseObj.java b/graphics/java/android/renderscript/BaseObj.java
index 63e7dd1..2e55c48 100644
--- a/graphics/java/android/renderscript/BaseObj.java
+++ b/graphics/java/android/renderscript/BaseObj.java
@@ -97,6 +97,13 @@ public class BaseObj {
}
}
+ /**
+ * @return name of the renderscript object
+ */
+ public String getName() {
+ return mName;
+ }
+
protected void finalize() throws Throwable {
if (!mDestroyed) {
if(mID != 0 && mRS.isAlive()) {