Merge change Ib3d582d7 into eclair-mr2

* changes:
  Fix crash with @UiThreadTest in InstrumentationTestCase.
This commit is contained in:
Android (Google) Code Review
2009-12-10 13:46:10 -08:00

View File

@@ -166,7 +166,7 @@ public class InstrumentationTestCase extends TestCase {
getInstrumentation().runOnMainSync(new Runnable() {
public void run() {
try {
m.invoke(this);
m.invoke(InstrumentationTestCase.this);
} catch (Throwable throwable) {
exceptions[0] = throwable;
}