diff options
author | Matthew Gharrity <gharrma@google.com> | 2021-10-20 19:04:25 -0400 |
---|---|---|
committer | Matthew Gharrity <gharrma@google.com> | 2021-10-21 16:07:50 +0000 |
commit | 1eda687ec0345d14550edb8d5bb25270dab1e91c (patch) | |
tree | 6713392bc8f0e7b092b94d1dbef49494de29fc3d /android-lint/src | |
parent | 0c748c6b6702487ebf3903311f7552387ba6ef89 (diff) | |
download | idea-1eda687ec0345d14550edb8d5bb25270dab1e91c.tar.gz |
LintIdeSupport: use service instead of EP
...and fix 'cyclic extension initialization' which was caused by
querying the extension point in the static initializer of the
extension base class.
This is a recapitulation of commit e42c03d2 from JetBrains.
Test: AndroidLintTest
Change-Id: Iebb37a7f2718daee30e748d035f5a1e5b400863b
Diffstat (limited to 'android-lint/src')
-rw-r--r-- | android-lint/src/META-INF/android-lint-plugin.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/android-lint/src/META-INF/android-lint-plugin.xml b/android-lint/src/META-INF/android-lint-plugin.xml index 7b39172b59b..c698e00e226 100644 --- a/android-lint/src/META-INF/android-lint-plugin.xml +++ b/android-lint/src/META-INF/android-lint-plugin.xml @@ -376,8 +376,10 @@ </intentionAction> </extensions> - <extensions defaultExtensionNs="com.android.tools.idea.lint.common"> - <lintIdeSupport implementation="com.android.tools.idea.lint.AndroidLintIdeSupport"/> + <extensions defaultExtensionNs="com.intellij"> + <applicationService + serviceInterface="com.android.tools.idea.lint.common.LintIdeSupport" + serviceImplementation="com.android.tools.idea.lint.AndroidLintIdeSupport" /> </extensions> <actions> |