fix type inference shange to Kotlin 1.4.0 (works ok without the change with Kotlin...
authorEugene Petrenko <eugene.petrenko@jetbrains.com>
Wed, 16 Sep 2020 12:40:56 +0000 (14:40 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Fri, 18 Sep 2020 23:00:14 +0000 (23:00 +0000)
GitOrigin-RevId: 18987f1079ba12dd82e88de29127e52fdeff2d92

android/src/com/android/tools/idea/npw/project/ChooseAndroidProjectStep.kt

index 1aabc5c479be35c90d2c34b91a21c132d7bdeac2..8d732b0d19069d1cbb53b699a0ce5b8d8b801711 100644 (file)
@@ -286,7 +286,7 @@ class ChooseAndroidProjectStep(model: NewProjectModel) : ModelWizardStep<NewProj
               .filter { WizardUiContext.NewProject in it.uiContexts && it.formFactor == formFactor.toTemplateFormFactor()}
               .map(::NewTemplateRendererWithDescription)
           else
-            listOf()
+            listOf<NewTemplateRendererWithDescription>()
 
         val newTemplateNames = newTemplateRenderers.map { it.template.name }
         yieldAll(oldTemplateRenderers.filter { it.template?.metadata?.title !in newTemplateNames } + newTemplateRenderers)