File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
android/src/main/java/com/idlefish/flutterboost/containers Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -130,11 +130,17 @@ public void onResume() {
130130 // Since we takeover PlatformPlugin from FlutterActivityAndFragmentDelegate,
131131 // the system UI overlays can't be updated in |onPostResume| callback. So we
132132 // update system UI overlays to match Flutter's desired system chrome style here.
133- Assert .assertNotNull (platformPlugin );
134- platformPlugin .updateSystemUiOverlays ();
133+ onUpdateSystemUiOverlays ();
135134 });
136135 }
137136
137+ // Update system UI overlays to match Flutter's desired system chrome style
138+ protected void onUpdateSystemUiOverlays () {
139+ if (isDebugLoggingEnabled ()) Log .d (TAG , "#onUpdateSystemUiOverlays: " + this );
140+ Assert .assertNotNull (platformPlugin );
141+ platformPlugin .updateSystemUiOverlays ();
142+ }
143+
138144 @ Override
139145 protected void onPause () {
140146 super .onPause ();
You can’t perform that action at this time.
0 commit comments