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

Commit 04d8f0c8 authored by Yang Ni's avatar Yang Ni Committed by android-build-merger
Browse files

Merge "Removed close guards for Element and Type objects" am: 97c9b57c

am: 25684cef

Change-Id: I09f9b62e9d6de92f7114638d4a8fdd82024214da
parents 1344c034 25684cef
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1071,7 +1071,6 @@ public class Element extends BaseObj {
            mSize += mElements[ct].mSize * mArraySizes[ct];
        }
        updateVisibleSubElements();
        guard.open("destroy");
    }

    Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) {
@@ -1091,7 +1090,6 @@ public class Element extends BaseObj {
        mKind = dk;
        mNormalized = norm;
        mVectorSize = size;
        guard.open("destroy");
    }

    Element(long id, RenderScript rs) {
+0 −1
Original line number Diff line number Diff line
@@ -227,7 +227,6 @@ public class Type extends BaseObj {

    Type(long id, RenderScript rs) {
        super(id, rs);
        guard.open("destroy");
    }

    @Override