diff options
author | Yang Ni <yangni@google.com> | 2015-04-29 17:19:15 -0700 |
---|---|---|
committer | Yang Ni <yangni@google.com> | 2015-04-30 09:55:17 -0700 |
commit | 4fea1505ac9a2ff2b476b855826f779e1b6a925e (patch) | |
tree | 653a18a23516752b81cb888853e796451494b918 | |
parent | 18d52a6a073a527c8e620cfd07b98b05bb276d7e (diff) | |
download | android_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.cpp | 2 |
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); |