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

Commit 43dca478 authored by Yang Ni's avatar Yang Ni Committed by android-build-merger
Browse files

Merge "Destroy Allocation with ScriptIntrinsicLut" am: 622b140f

am: 088eca83

Change-Id: I9b5cf20890474a8921def39b955863cf7eaade67
parents 951549ed 088eca83
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) {