Merge "Revert "Ignore to show splash screen if the decorView is not opaque"" into rvc-qpr-dev am: 132a346318

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13178636

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I157db4fa729821a059489ca07208b21d12857315
This commit is contained in:
Ming-Shin Lu
2020-12-08 14:24:22 +00:00
committed by Automerger Merge Worker

View File

@@ -2417,15 +2417,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
wm = (WindowManager) context.getSystemService(WINDOW_SERVICE);
view = win.getDecorView();
// Ignore to show splash screen if the decorView is not opaque.
if (!view.isOpaque()) {
if (DEBUG_SPLASH_SCREEN) {
Slog.d(TAG, "addSplashScreen: the view of " + packageName
+ " is not opaque, cancel it");
}
return null;
}
if (DEBUG_SPLASH_SCREEN) Slog.d(TAG, "Adding splash screen window for "
+ packageName + " / " + appToken + ": " + (view.getParent() != null ? view : null));