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

Commit 067af952 authored by Jason Sams's avatar Jason Sams Committed by Android (Google) Code Review
Browse files

Merge "Force destroy scripts in imageProcessing." into jb-mr1-dev

parents a91c9f9f ed0b4f96
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);
    }