diff options
Diffstat (limited to 'rsScriptC.cpp')
-rw-r--r-- | rsScriptC.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rsScriptC.cpp b/rsScriptC.cpp index 4d791f79..e1685b91 100644 --- a/rsScriptC.cpp +++ b/rsScriptC.cpp @@ -310,6 +310,10 @@ bool ScriptC::runCompiler(Context *rsc, sdkVersion = rsc->getTargetSdkVersion(); } + // Save off the sdkVersion, so that we can handle broken cases later. + // Bug 19734267 + mApiLevel = sdkVersion; + if (BT) { delete BT; } |