From ddd4c2ae7fce09601b719cf55762264781a69a7d Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Thu, 20 Aug 2015 21:33:36 +0300 Subject: [PATCH] Report exceptions from Android Extensions (KT-7355) --- .../src/META-INF/plugin.xml | 6 +++-- .../AndroidExtensionsReportSubmitter.kt | 24 +++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 plugins/android-idea-plugin/src/org/jetbrains/kotlin/plugin/android/AndroidExtensionsReportSubmitter.kt diff --git a/plugins/android-idea-plugin/src/META-INF/plugin.xml b/plugins/android-idea-plugin/src/META-INF/plugin.xml index 86203e5aeac..d21780841f7 100644 --- a/plugins/android-idea-plugin/src/META-INF/plugin.xml +++ b/plugins/android-idea-plugin/src/META-INF/plugin.xml @@ -1,10 +1,10 @@ - + org.jetbrains.kotlin.android Kotlin Extensions For Android Various extensions facilitating Android development in Kotlin @snapshot@ - JetBrains Inc. + JetBrains s.r.o. @@ -22,6 +22,8 @@ + + diff --git a/plugins/android-idea-plugin/src/org/jetbrains/kotlin/plugin/android/AndroidExtensionsReportSubmitter.kt b/plugins/android-idea-plugin/src/org/jetbrains/kotlin/plugin/android/AndroidExtensionsReportSubmitter.kt new file mode 100644 index 00000000000..86d9b9826fb --- /dev/null +++ b/plugins/android-idea-plugin/src/org/jetbrains/kotlin/plugin/android/AndroidExtensionsReportSubmitter.kt @@ -0,0 +1,24 @@ +/* + * Copyright 2010-2015 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.jetbrains.kotlin.plugin.android + +import com.intellij.diagnostic.ITNReporter +import com.intellij.openapi.diagnostic.IdeaLoggingEvent + +public class AndroidExtensionsReportSubmitter : ITNReporter() { + override fun showErrorInRelease(event: IdeaLoggingEvent?) = true +} \ No newline at end of file