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

Commit ed389f0d authored by Etan Cohen's avatar Etan Cohen Committed by Automerger Merge Worker
Browse files

Merge "[SYSUI] Fix logging on test failure" into rvc-dev am: 16f2b570

Change-Id: Ie9a4e33f14d24ba6934d68147a9fa0e9584b4978
parents a9b027f4 16f2b570
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -122,6 +122,10 @@ public class NetworkControllerBaseTest extends SysuiTestCase {
    public TestWatcher failWatcher = new TestWatcher() {
        @Override
        protected void failed(Throwable e, Description description) {
            if (mNetworkController == null) {
                Log.d(TAG, "mNetworkController = null!");
                return;
            }
            // Print out mNetworkController state if the test fails.
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);