public static void runOnUiThreadBlocking(Runnable c) {
        runOnUiThreadBlocking((Callable<Void>) () -> {
            c.run();
            return null;
        });
    }
Runs the supplied Runnable on the main thread. Blocks until completes.
customtabs/tests/src/android/support/customtabs/testutil/TestUtil.java