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

Commit 07e37dfa authored by Jason Sams's avatar Jason Sams Committed by Android Git Automerger
Browse files

am 7e2048be: am 067af952: Merge "Force destroy scripts in imageProcessing." into jb-mr1-dev

* commit '7e2048be':
  Force destroy scripts in imageProcessing.
parents 19a58d20 7e2048be
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);
    }