am 6c02facd: Merge "Fix typo with register native allocation." into lmp-mr1-dev

* commit '6c02facd83f1fa1ebf11d9cfda9872232c2d2d15':
  Fix typo with register native allocation.
This commit is contained in:
Tim Murray
2014-12-16 21:36:37 +00:00
committed by Android Git Automerger

View File

@@ -1185,7 +1185,7 @@ public class RenderScript {
}
mRWLock = new ReentrantReadWriteLock();
try {
registerNativeAllocation.invoke(sRuntime, 4 * 1024 * 1024 * 1024); // 4MB for GC sake
registerNativeAllocation.invoke(sRuntime, 4 * 1024 * 1024); // 4MB for GC sake
} catch (Exception e) {
Log.e(RenderScript.LOG_TAG, "Couldn't invoke registerNativeAllocation:" + e);
throw new RSRuntimeException("Couldn't invoke registerNativeAllocation:" + e);