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

Commit ed0b4f96 authored by Jason Sams's avatar Jason Sams
Browse files

Force destroy scripts in imageProcessing.

bug 7216044

Change-Id: I6292513c08e75269e79d2210de898ef28931c986
parent c4b16f1a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -133,6 +133,9 @@ public class ImageProcessingActivity extends Activity


    void changeTest(int testID) {
        if (mTest != null) {
            mTest.destroy();
        }
        switch(testID) {
        case 0:
            mTest = new LevelsV4(false, false);
+4 −0
Original line number Diff line number Diff line
@@ -108,6 +108,10 @@ public class TestBase {
        mRS.finish();
    }

    public void destroy() {
        mRS.destroy();
    }

    public void updateBitmap(Bitmap b) {
        mOutPixelsAllocation.copyTo(b);
    }