@@ -494,7 +494,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
494494 delegate .onAttach (this );
495495 delegate .onRestoreInstanceState (savedInstanceState );
496496
497- lifecycle .handleLifecycleEvent (Lifecycle .Event .ON_CREATE );
497+ getLifecycle () .handleLifecycleEvent (Lifecycle .Event .ON_CREATE );
498498
499499 registerOnBackInvokedCallback ();
500500
@@ -664,7 +664,7 @@ private void configureStatusBarForFullscreenFlutterExperience() {
664664 @ Override
665665 protected void onStart () {
666666 super .onStart ();
667- lifecycle .handleLifecycleEvent (Lifecycle .Event .ON_START );
667+ getLifecycle () .handleLifecycleEvent (Lifecycle .Event .ON_START );
668668 if (stillAttachedForEvent ("onStart" )) {
669669 delegate .onStart ();
670670 }
@@ -673,7 +673,7 @@ protected void onStart() {
673673 @ Override
674674 protected void onResume () {
675675 super .onResume ();
676- lifecycle .handleLifecycleEvent (Lifecycle .Event .ON_RESUME );
676+ getLifecycle () .handleLifecycleEvent (Lifecycle .Event .ON_RESUME );
677677 if (stillAttachedForEvent ("onResume" )) {
678678 delegate .onResume ();
679679 }
@@ -693,7 +693,7 @@ protected void onPause() {
693693 if (stillAttachedForEvent ("onPause" )) {
694694 delegate .onPause ();
695695 }
696- lifecycle .handleLifecycleEvent (Lifecycle .Event .ON_PAUSE );
696+ getLifecycle () .handleLifecycleEvent (Lifecycle .Event .ON_PAUSE );
697697 }
698698
699699 @ Override
@@ -702,7 +702,7 @@ protected void onStop() {
702702 if (stillAttachedForEvent ("onStop" )) {
703703 delegate .onStop ();
704704 }
705- lifecycle .handleLifecycleEvent (Lifecycle .Event .ON_STOP );
705+ getLifecycle () .handleLifecycleEvent (Lifecycle .Event .ON_STOP );
706706 }
707707
708708 @ Override
@@ -755,7 +755,7 @@ protected void onDestroy() {
755755 delegate .onDetach ();
756756 }
757757 release ();
758- lifecycle .handleLifecycleEvent (Lifecycle .Event .ON_DESTROY );
758+ getLifecycle () .handleLifecycleEvent (Lifecycle .Event .ON_DESTROY );
759759 }
760760
761761 @ Override
0 commit comments