@Override
    public void onTwaLaunchInitiated(String providerPackage, TrustedWebActivityIntentBuilder builder) {
        mProviderPackage = providerPackage;
        mProviderSupportsSplashScreens = TrustedWebUtils.splashScreensAreSupported(mActivity,
                providerPackage, TrustedWebUtils.SplashScreenVersion.V1);

        if (!mProviderSupportsSplashScreens) {
            Log.w(TAG, "Provider " + providerPackage + " doesn't support splash screens");
            return;
        }

        showSplashScreen();
        if (mSplashImage != null) {
            customizeStatusAndNavBarDuringSplashScreen(providerPackage, builder);
        }
    }
@param activity {@link Activity} on top of which a TWA is going to be launched.
@param drawableId Resource id of the Drawable of an image (e.g. logo) displayed in the
splash screen.
@param backgroundColor Background color of the splash screen.
@param scaleType see {@link SplashScreenParamKey#SCALE_TYPE}
@param transformationMatrix see {@link SplashScreenParamKey#IMAGE_TRANSFORMATION_MATRIX}.
@param fadeOutDurationMillis see {@link SplashScreenParamKey#FADE_OUT_DURATION_MS}.
@param fileProviderAuthority Authority of a FileProvider used for transferring the splash
image to the browser.
customtabs/src/android/support/customtabs/trusted/splashscreens/PwaWrapperSplashScreenStrategy.java