am b25a6936: am d7043f00: Merge "Add hidden minor version ID for support lib workarounds."

* commit 'b25a6936a1b0dbabaf8ad8c2ce59e7251daa9e8c':
  Add hidden minor version ID for support lib workarounds.
This commit is contained in:
Tim Murray
2014-02-14 23:08:01 +00:00
committed by Android Git Automerger

View File

@ -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.