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

Commit fac7bfd6 authored by Tim Murray's avatar Tim Murray Committed by Android Git Automerger
Browse files

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

* commit '6c02facd':
  Fix typo with register native allocation.
parents 892e65cb 6c02facd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);