summaryrefslogtreecommitdiffstats
path: root/rs
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2015-05-14 14:53:30 -0700
committerMiao Wang <miaowang@google.com>2015-05-14 15:11:52 -0700
commitf9d518a2afb1715c8ecf96a2639d9a1fbd48e263 (patch)
treef94fafbcccdade7df54b9908a24f5b8c51ba21f9 /rs
parentb731c3d944ccf46b7d0115f63b63eee5ab8abf1a (diff)
downloadframeworks_base-f9d518a2afb1715c8ecf96a2639d9a1fbd48e263.zip
frameworks_base-f9d518a2afb1715c8ecf96a2639d9a1fbd48e263.tar.gz
frameworks_base-f9d518a2afb1715c8ecf96a2639d9a1fbd48e263.tar.bz2
[RenderScript] Add dummy getMinorID to maintain compatible with old RS
compat lib. bug: 21132592 Change-Id: I375f188dfbd33367a9589533aa51b182fda8bc21
Diffstat (limited to 'rs')
-rw-r--r--rs/java/android/renderscript/RenderScript.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/RenderScript.java b/rs/java/android/renderscript/RenderScript.java
index 27f2cc8..8b1a032 100644
--- a/rs/java/android/renderscript/RenderScript.java
+++ b/rs/java/android/renderscript/RenderScript.java
@@ -134,6 +134,20 @@ public class RenderScript {
static final long sMinorVersion = 1;
/**
+ * @hide
+ *
+ * Only exist to be compatible with old version RenderScript Support lib.
+ * Will eventually be removed.
+ *
+ * @return Always return 1
+ *
+ */
+ public static long getMinorID() {
+ return 1;
+ }
+
+
+ /**
* Returns an identifier that can be used to identify a particular
* minor version of RS.
*