am e14d5e90: am 5757bf89: Add hidden minor version ID for support lib workarounds.

* commit 'e14d5e901172559a5e18077bde3ccafd03e8a6e2':
  Add hidden minor version ID for support lib workarounds.
This commit is contained in:
Jason Sams
2014-03-13 01:35:42 +00:00
committed by Android Git Automerger

View File

@@ -102,6 +102,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.