diff options
author | Tim Murray <timmurray@google.com> | 2014-02-14 12:51:32 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-02-14 12:51:32 -0800 |
commit | b25a6936a1b0dbabaf8ad8c2ce59e7251daa9e8c (patch) | |
tree | fb107a8a2fcbe7b0b8197f332e34488249c9ee3d /rs/java | |
parent | 3bec0fbb349a969934828ee726956877a3a21dee (diff) | |
parent | d7043f0084237200b6aab5d101c8ab6d3ab495c6 (diff) | |
download | frameworks_base-b25a6936a1b0dbabaf8ad8c2ce59e7251daa9e8c.zip frameworks_base-b25a6936a1b0dbabaf8ad8c2ce59e7251daa9e8c.tar.gz frameworks_base-b25a6936a1b0dbabaf8ad8c2ce59e7251daa9e8c.tar.bz2 |
am d7043f00: Merge "Add hidden minor version ID for support lib workarounds."
* commit 'd7043f0084237200b6aab5d101c8ab6d3ab495c6':
Add hidden minor version ID for support lib workarounds.
Diffstat (limited to 'rs/java')
-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 8618764..b211c5a 100644 --- a/rs/java/android/renderscript/RenderScript.java +++ b/rs/java/android/renderscript/RenderScript.java @@ -103,6 +103,20 @@ public class RenderScript { static File mCacheDir; + // this should be a monotonically increasing ID + // used in conjunction with the API version of a device + static final long sMinorID = 1; + + /** + * Returns an identifier that can be used to identify a particular + * minor version of RS. + * + * @hide + */ + public static long getMinorID() { + return sMinorID; + } + /** * Sets the directory to use as a persistent storage for the * renderscript object file cache. |