private void customizeStatusAndNavBarDuringSplashScreen(
            String providerPackage, @Nullable TrustedWebActivityIntentBuilder builder) {
        Integer navbarColor = sSystemBarColorPredictor.getExpectedNavbarColor(mActivity,
                providerPackage, builder);
        if (navbarColor != null) {
            Utils.setNavigationBarColor(mActivity, navbarColor);
        }

        Integer statusBarColor = sSystemBarColorPredictor.getExpectedStatusBarColor(mActivity,
                providerPackage, builder);
        if (statusBarColor != null) {
            Utils.setStatusBarColor(mActivity, statusBarColor);
        }
    }
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