am 73db36e6: Merge "Fix crash in ImageProcessing blend test" into jb-mr1-dev
* commit '73db36e6d8e4ad89c710783b66b99064e483b614': Fix crash in ImageProcessing blend test
This commit is contained in:
@@ -52,8 +52,10 @@ public class Blend extends TestBase {
|
|||||||
new AdapterView.OnItemSelectedListener() {
|
new AdapterView.OnItemSelectedListener() {
|
||||||
public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
|
public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
|
||||||
currentIntrinsic = pos;
|
currentIntrinsic = pos;
|
||||||
runTest();
|
if (mRS != null) {
|
||||||
act.updateDisplay();
|
runTest();
|
||||||
|
act.updateDisplay();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onNothingSelected(AdapterView parent) {
|
public void onNothingSelected(AdapterView parent) {
|
||||||
|
|||||||
@@ -123,6 +123,7 @@ public class TestBase {
|
|||||||
|
|
||||||
public void destroy() {
|
public void destroy() {
|
||||||
mRS.destroy();
|
mRS.destroy();
|
||||||
|
mRS = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateBitmap(Bitmap b) {
|
public void updateBitmap(Bitmap b) {
|
||||||
|
|||||||
Reference in New Issue
Block a user