summaryrefslogtreecommitdiffstats
path: root/rs/java/android
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2015-05-14 22:22:01 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-14 22:22:07 +0000
commit39a0b22cf854963dc04dc7a7714b4a7a263e93aa (patch)
tree5760258adba37dd8de41e4b9fb6bf9f797a277af /rs/java/android
parent3e02adb028741938dab9787fa1552f86b2558c9a (diff)
parentf9d518a2afb1715c8ecf96a2639d9a1fbd48e263 (diff)
downloadframeworks_base-39a0b22cf854963dc04dc7a7714b4a7a263e93aa.zip
frameworks_base-39a0b22cf854963dc04dc7a7714b4a7a263e93aa.tar.gz
frameworks_base-39a0b22cf854963dc04dc7a7714b4a7a263e93aa.tar.bz2
Merge "[RenderScript] Add dummy getMinorID to maintain compatible with old RS compat lib." into mnc-dev
Diffstat (limited to 'rs/java/android')
-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.
*