Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: make 'buildServiceConnection' an instance field in ProjectHandle…
Browse files Browse the repository at this point in the history
…rActivity (#1208)
  • Loading branch information
itsaky committed Sep 6, 2023
1 parent 6762d8d commit 9cb995c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,12 @@ abstract class ProjectHandlerActivity : BaseEditorActivity() {

protected val mBuildEventListener = EditorBuildEventListener()

private val buildServiceConnection = GradleBuildServiceConnnection()

companion object {

const val STATE_KEY_FROM_SAVED_INSTANACE = "ide.editor.isFromSavedInstance"
const val STATE_KEY_SHOULD_INITIALIZE = "ide.editor.isInitializing"

@JvmStatic
private val buildServiceConnection = GradleBuildServiceConnnection()
}

abstract fun doCloseAll(runAfter: () -> Unit)
Expand Down

0 comments on commit 9cb995c

Please sign in to comment.