|
41 | 41 | import io.flutter.run.FlutterLaunchMode;
|
42 | 42 | import io.flutter.run.common.RunMode;
|
43 | 43 | import io.flutter.settings.FlutterSettings;
|
44 |
| -import io.flutter.utils.MostlySilentColoredProcessHandler; |
45 |
| -import io.flutter.utils.ProgressHelper; |
46 |
| -import io.flutter.utils.StreamSubscription; |
47 |
| -import io.flutter.utils.UrlUtils; |
48 |
| -import io.flutter.utils.VmServiceListenerAdapter; |
49 |
| -import io.flutter.vmService.DisplayRefreshRateManager; |
| 44 | +import io.flutter.utils.*; |
50 | 45 | import io.flutter.vmService.ServiceExtensions;
|
51 | 46 | import io.flutter.vmService.VMServiceManager;
|
52 | 47 | import org.dartlang.vm.service.VmService;
|
@@ -302,7 +297,9 @@ public ObservatoryConnector getConnector() {
|
302 | 297 | return myConnector;
|
303 | 298 | }
|
304 | 299 |
|
305 |
| - /** @noinspection BooleanMethodIsAlwaysInverted*/ |
| 300 | + /** |
| 301 | + * @noinspection BooleanMethodIsAlwaysInverted |
| 302 | + */ |
306 | 303 | public boolean appSupportsHotReload() {
|
307 | 304 | // Introspect based on registered services.
|
308 | 305 | if (myVMServiceManager != null && myVMServiceManager.hasAnyRegisteredServices()) {
|
@@ -686,11 +683,6 @@ public VMServiceManager getVMServiceManager() {
|
686 | 683 | return myVMServiceManager;
|
687 | 684 | }
|
688 | 685 |
|
689 |
| - @Nullable |
690 |
| - public DisplayRefreshRateManager getDisplayRefreshRateManager() { |
691 |
| - return myVMServiceManager != null ? myVMServiceManager.displayRefreshRateManager : null; |
692 |
| - } |
693 |
| - |
694 | 686 | @NotNull
|
695 | 687 | public Project getProject() {
|
696 | 688 | return myProject;
|
|
0 commit comments