diff options
author | Miao Wang <miaowang@google.com> | 2015-05-14 14:53:30 -0700 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2015-05-14 15:11:52 -0700 |
commit | f9d518a2afb1715c8ecf96a2639d9a1fbd48e263 (patch) | |
tree | f94fafbcccdade7df54b9908a24f5b8c51ba21f9 | |
parent | b731c3d944ccf46b7d0115f63b63eee5ab8abf1a (diff) | |
download | frameworks_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
-rw-r--r-- | rs/java/android/renderscript/RenderScript.java | 14 |
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. * |