File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
android/capacitor/src/main/java/com/getcapacitor Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ private static void buildViews(Context c) {
53
53
}
54
54
55
55
splashImage = new ImageView (c );
56
-
56
+
57
+ splashImage .setFitsSystemWindows (true );
58
+
57
59
// Hide status bar during splash screen.
58
60
Boolean splashFullScreen = Config .getBoolean (CONFIG_KEY_PREFIX + "splashFullScreen" , DEFAULT_SPLASH_FULL_SCREEN );
59
61
if (splashFullScreen ){
@@ -236,7 +238,7 @@ public void run() {
236
238
237
239
WindowManager .LayoutParams params = new WindowManager .LayoutParams ();
238
240
params .gravity = Gravity .CENTER ;
239
- params .flags = a .getWindow ().getAttributes ().flags & ( WindowManager . LayoutParams . FLAG_FULLSCREEN ) ;
241
+ params .flags = a .getWindow ().getAttributes ().flags ;
240
242
241
243
// Required to enable the view to actually fade
242
244
params .format = PixelFormat .TRANSLUCENT ;
You can’t perform that action at this time.
0 commit comments