Merge "[RenderScript] Add dummy getMinorID to maintain compatible with old RS compat lib." into mnc-dev

This commit is contained in:
Miao Wang
2015-05-14 22:22:01 +00:00
committed by Android (Google) Code Review

View File

@@ -133,6 +133,20 @@ public class RenderScript {
// used in conjunction with the API version of a device
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.