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

Commit b3d582d7 authored by Romain Guy's avatar Romain Guy
Browse files

Fix crash with @UiThreadTest in InstrumentationTestCase.

parent f44ecff4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
                    }