mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
Updated build service when created
This commit is contained in:
@@ -176,7 +176,7 @@ public class EditorActivity extends IDEActivity
|
||||
public void onServiceConnected(ComponentName name, IBinder service) {
|
||||
final var buildService = ((GradleBuildService.GradleServiceBinder) service).getService();
|
||||
LOG.info("Gradle build service has been started...");
|
||||
Lookup.DEFAULT.register(BuildService.KEY_BUILD_SERVICE, buildService);
|
||||
Lookup.DEFAULT.update(BuildService.KEY_BUILD_SERVICE, buildService);
|
||||
buildService
|
||||
.setEventListener(mBuildEventListener)
|
||||
.startToolingServer(() -> initializeProject());
|
||||
|
||||
@@ -32,6 +32,6 @@ abstract class AbstractView(
|
||||
protected val attributes = mutableListOf<IAttribute>()
|
||||
|
||||
override fun addAttribute(attribute: IAttribute) {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user