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

Commit a21bcbff 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

Change-Id: Ic180a772a7131e32987364d01581b0333315b798
parents 206be73d 43dca478
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) {