File tree 1 file changed +2
-3
lines changed
flutter-idea/src/io/flutter/run
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 13
13
import com .intellij .execution .ui .RunContentDescriptor ;
14
14
import com .intellij .execution .ui .RunContentManager ;
15
15
import com .intellij .openapi .Disposable ;
16
- import com .intellij .openapi .components .ServiceManager ;
17
16
import com .intellij .openapi .project .Project ;
18
17
import com .intellij .openapi .util .Disposer ;
19
18
import io .flutter .run .daemon .FlutterApp ;
@@ -125,9 +124,9 @@ private RunContentManager getRunContentManager() {
125
124
}
126
125
// Creating a RunContentManager causes a blank window to appear, so don't create it here.
127
126
// See https://github.com/flutter/flutter-intellij/issues/4217
128
- if (ServiceManager .getServiceIfCreated (project , RunContentManager .class ) == null ) {
127
+ if (project .getServiceIfCreated (RunContentManager .class ) == null ) {
129
128
return null ;
130
129
}
131
- return ExecutionManager .getInstance (project ). getContentManager ( );
130
+ return RunContentManager .getInstance (project );
132
131
}
133
132
}
You can’t perform that action at this time.
0 commit comments