Skip to content

Commit

Permalink
Remove spurious log messages (flutter#5547)
Browse files Browse the repository at this point in the history
These are making some of the tests that are sensitive to output flakey.
  • Loading branch information
Hixie authored Jun 15, 2018
1 parent 52ff9c8 commit 824e45e
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ public void onPause() {
if (app instanceof FlutterApplication) {
FlutterApplication flutterApp = (FlutterApplication) app;
if (activity.equals(flutterApp.getCurrentActivity())) {
Log.i(TAG, "onPause setting current activity to null");
flutterApp.setCurrentActivity(null);
}
}
Expand All @@ -227,10 +226,7 @@ public void onResume() {
Application app = (Application) activity.getApplicationContext();
if (app instanceof FlutterApplication) {
FlutterApplication flutterApp = (FlutterApplication) app;
Log.i(TAG, "onResume setting current activity to this");
flutterApp.setCurrentActivity(activity);
} else {
Log.i(TAG, "onResume app wasn't a FlutterApplication!!");
}
}

Expand All @@ -252,7 +248,6 @@ public void onDestroy() {
if (app instanceof FlutterApplication) {
FlutterApplication flutterApp = (FlutterApplication) app;
if (activity.equals(flutterApp.getCurrentActivity())) {
Log.i(TAG, "onDestroy setting current activity to null");
flutterApp.setCurrentActivity(null);
}
}
Expand Down

0 comments on commit 824e45e

Please sign in to comment.