am f2f68760: Merge change Ib3d582d7 into eclair-mr2

Merge commit 'f2f68760eb10b52bd53d6a266f9b5e2b06037d9f' into eclair-mr2-plus-aosp

* commit 'f2f68760eb10b52bd53d6a266f9b5e2b06037d9f':
  Fix crash with @UiThreadTest in InstrumentationTestCase.
This commit is contained in:
Romain Guy
2009-12-10 13:50:11 -08:00
committed by Android Git Automerger

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;
}