From d6a1bcc917f4532a02f46ed420eff8a09f8def04 Mon Sep 17 00:00:00 2001 From: David Guralnick Date: Mon, 7 Jan 2019 14:16:06 -0800 Subject: [PATCH] Add onStart hook to FlutterFragmentActivity (flutter/engine#6719) Seems like this file was missed when onStart hooks were added recently in this pull request: https://github.com/flutter/engine/pull/5177 --- .../android/io/flutter/app/FlutterFragmentActivity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java b/engine/src/flutter/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java index b483ae9fd1..2aa0d131f8 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java @@ -101,6 +101,12 @@ public class FlutterFragmentActivity super.onBackPressed(); } } + + @Override + protected void onStart() { + super.onStart(); + eventDelegate.onStart(); + } @Override protected void onStop() {