Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9c56a04 authored by Tim Murray's avatar Tim Murray Committed by android-build-merger
Browse files

am 68a81bd8: am 8de16999: Merge "Fix typo with register native allocation."

automerge: d58370ef

* commit 'd58370ef':
  Fix typo with register native allocation.
parents 4328db57 d58370ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1147,7 +1147,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);