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

Commit 4b429417 authored by Jason Sams's avatar Jason Sams
Browse files

Fix crash in ImageProcessing blend test

The blend test would use a stale context
when running all tests.

bug 7327728

Change-Id: I5802b9b382d8893419efe86d33fdfeeb27729e31
parent 3add43ab
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -52,9 +52,11 @@ public class Blend extends TestBase {
            new AdapterView.OnItemSelectedListener() {
                public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
                    currentIntrinsic = pos;
                    if (mRS != null) {
                        runTest();
                        act.updateDisplay();
                    }
                }

                public void onNothingSelected(AdapterView parent) {

+1 −0
Original line number Diff line number Diff line
@@ -123,6 +123,7 @@ public class TestBase {

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

    public void updateBitmap(Bitmap b) {