Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -442,12 +442,16 @@ protected FlutterView.TransparencyMode getTransparencyMode() {
return FlutterView.TransparencyMode.valueOf(transparencyModeName);
}

@Override
public void onResume() {
super.onResume();
flutterEngine.getLifecycleChannel().appIsResumed();
}

// TODO(mattcarroll): determine why this can't be in onResume(). Comment reason, or move if possible.
public void onPostResume() {
Log.d(TAG, "onPostResume()");
if (flutterEngine != null) {
flutterEngine.getLifecycleChannel().appIsResumed();

// TODO(mattcarroll): find a better way to handle the update of UI overlays than calling through
// to platformPlugin. We're implicitly entangling the Window, Activity, Fragment,
// and engine all with this one call.
Expand Down