diff options
author | Tim Murray <timmurray@google.com> | 2014-02-14 23:22:10 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-02-14 23:22:10 +0000 |
commit | bdb04f025ce34b0240f01961c43d8156a78e27a2 (patch) | |
tree | 89a61bc1a5242178367de1646272eca2c3c4bf5d /rs | |
parent | 6795e9c783242b31188d76c5186dfe0751f1731a (diff) | |
parent | 17b7ff4af762cd5e9921e9ee360e139956f220a5 (diff) | |
download | frameworks_base-bdb04f025ce34b0240f01961c43d8156a78e27a2.zip frameworks_base-bdb04f025ce34b0240f01961c43d8156a78e27a2.tar.gz frameworks_base-bdb04f025ce34b0240f01961c43d8156a78e27a2.tar.bz2 |
am 17b7ff4a: am b25a6936: am d7043f00: Merge "Add hidden minor version ID for support lib workarounds."
* commit '17b7ff4af762cd5e9921e9ee360e139956f220a5':
Add hidden minor version ID for support lib workarounds.
Diffstat (limited to 'rs')
-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. |