private void onSplashImageTransferred(TrustedWebActivityIntentBuilder builder, boolean success,
            Runnable onReadyCallback) {
        if (!success) {
            Log.w(TAG, "Failed to transfer splash image.");
            onReadyCallback.run();
            return;
        }
        builder.setSplashScreenParams(makeSplashScreenParamsBundle());

        runWhenEnterAnimationComplete(() -> {
            onReadyCallback.run();
            mActivity.overridePendingTransition(0, 0); // Avoid window animations during transition.
        });
    }
Sets the colors of status and navigation bar to match the ones seen after the splash screen
is transferred to the browser.
customtabs/src/android/support/customtabs/trusted/splashscreens/PwaWrapperSplashScreenStrategy.java