[RenderScript] Add additional check for determining whether to use
native RS.
Workaround for Incremental Support lib on KK.
- if targetSdkVersion > device API version, always use compat mode
to gain access to all the intrinsics.
- For developers intended to use intrinsics introduced later than KK
Need to set the targetSdkVersion > KK, which is running in compat
mode.
- Otherwise on KK, be able to run scripts and intrinsics<=19, in native
mode.
Change-Id: Ie00ab8b05d274b46cafd71d1347ef7ac4e91aca7
3 files changed