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

Commit 674f7741 authored by Yang Ni's avatar Yang Ni Committed by android-build-merger
Browse files

Merge "Destroy Allocation with ScriptIntrinsicLut" am: 622b140f am: 088eca83 am: 43dca478

am: a21bcbff

Change-Id: Iad951014bb6c3c08a9fcb280bc263a51dc8e6705
parents 6a9ad74c a21bcbff
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -56,6 +56,10 @@ public final class ScriptIntrinsicLUT extends ScriptIntrinsic {

    }

    public void destroy() {
        mTables.destroy();
        super.destroy();
    }

    private void validate(int index, int value) {
        if (index < 0 || index > 255) {