From 0ffc88915bfd8f2a7c4e814cbff3ecd31bfe6c73 Mon Sep 17 00:00:00 2001
From: zher52 <zher52@aliyun.com>
Date: Thu, 14 Nov 2019 15:18:03 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=BA=E5=85=A8=E5=B1=8F?=
 =?UTF-8?q?=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/android/SplashScreen.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/android/SplashScreen.java b/src/android/SplashScreen.java
index 428df33..3fb5487 100644
--- a/src/android/SplashScreen.java
+++ b/src/android/SplashScreen.java
@@ -315,11 +315,11 @@ public class SplashScreen extends CordovaPlugin {
                 // Create and show the dialog
                 splashDialog = new Dialog(context, android.R.style.Theme_Translucent_NoTitleBar);
                 // check to see if the splash screen should be full screen
-                if ((cordova.getActivity().getWindow().getAttributes().flags & WindowManager.LayoutParams.FLAG_FULLSCREEN)
-                        == WindowManager.LayoutParams.FLAG_FULLSCREEN) {
+                // if ((cordova.getActivity().getWindow().getAttributes().flags & WindowManager.LayoutParams.FLAG_FULLSCREEN)
+                        // == WindowManager.LayoutParams.FLAG_FULLSCREEN) {
                     splashDialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                             WindowManager.LayoutParams.FLAG_FULLSCREEN);
-                }
+                // }
                 splashDialog.setContentView(splashImageView);
                 splashDialog.setCancelable(false);
                 splashDialog.show();