Remove obsolete references to "flutter refresh" in hello_services (#7093)
Fixes https://github.com/flutter/flutter/issues/6947
This commit is contained in:
@@ -76,20 +76,6 @@ public class ExampleActivity extends Activity {
|
||||
flutterView.onPostResume();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onNewIntent(Intent intent) {
|
||||
// Reload the Flutter Dart code when the activity receives an intent
|
||||
// from the "flutter refresh" command.
|
||||
// This feature should only be enabled during development. Use the
|
||||
// debuggable flag as an indicator that we are in development mode.
|
||||
if ((getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0) {
|
||||
if (Intent.ACTION_RUN.equals(intent.getAction())) {
|
||||
flutterView.runFromBundle(intent.getDataString(),
|
||||
intent.getStringExtra("snapshot"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void sendGetRandom() {
|
||||
JSONObject message = new JSONObject();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user