Merge "Fix typo with register native allocation." into lmp-mr1-dev
This commit is contained in:
@@ -1185,7 +1185,7 @@ public class RenderScript {
|
|||||||
}
|
}
|
||||||
mRWLock = new ReentrantReadWriteLock();
|
mRWLock = new ReentrantReadWriteLock();
|
||||||
try {
|
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) {
|
} catch (Exception e) {
|
||||||
Log.e(RenderScript.LOG_TAG, "Couldn't invoke registerNativeAllocation:" + e);
|
Log.e(RenderScript.LOG_TAG, "Couldn't invoke registerNativeAllocation:" + e);
|
||||||
throw new RSRuntimeException("Couldn't invoke registerNativeAllocation:" + e);
|
throw new RSRuntimeException("Couldn't invoke registerNativeAllocation:" + e);
|
||||||
|
|||||||
Reference in New Issue
Block a user