aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Ni <yangni@google.com>2015-04-29 17:19:15 -0700
committerYang Ni <yangni@google.com>2015-04-30 09:55:17 -0700
commit4fea1505ac9a2ff2b476b855826f779e1b6a925e (patch)
tree653a18a23516752b81cb888853e796451494b918
parent18d52a6a073a527c8e620cfd07b98b05bb276d7e (diff)
downloadandroid_frameworks_compile_slang-4fea1505ac9a2ff2b476b855826f779e1b6a925e.tar.gz
android_frameworks_compile_slang-4fea1505ac9a2ff2b476b855826f779e1b6a925e.tar.bz2
android_frameworks_compile_slang-4fea1505ac9a2ff2b476b855826f779e1b6a925e.zip
Enable getInvokeID in reflected code
Cherry-picked from AOSP Change-Id: Ide905bd4ab904c8c8f1b3bec11c2add88b47c74f
-rw-r--r--slang_rs_reflection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slang_rs_reflection.cpp b/slang_rs_reflection.cpp
index f1d9d3d..35a6a29 100644
--- a/slang_rs_reflection.cpp
+++ b/slang_rs_reflection.cpp
@@ -625,7 +625,7 @@ void RSReflectionJava::genExportFunction(const RSExportFunc *EF) {
}
}
- if (mRSContext->getTargetAPI() >= SLANG_DEVELOPMENT_TARGET_API) {
+ if (mRSContext->getTargetAPI() >= SLANG_23_TARGET_API) {
startFunction(AM_Public, false, "Script.InvokeID",
"getInvokeID_" + EF->getName(), 0);