From f3e733671637416e5dfd6541e7b4acf49ae51c82 Mon Sep 17 00:00:00 2001 From: Eugene Zhuravlev Date: Thu, 27 Jun 2024 19:46:01 +0200 Subject: [PATCH] update ls_client_api, implement getIdeProductCode query, pass option ideLicenseId when requesting a non-anonymous trial GitOrigin-RevId: 2855a9808ec5e348295fa4116cd73bfb7601eea4 --- .../src/com/intellij/ui/JBAccountInfoService.java | 4 +--- .../intellij/settingsSync/auth/DummyJBAccountInfoService.kt | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/ui/JBAccountInfoService.java b/platform/platform-impl/src/com/intellij/ui/JBAccountInfoService.java index 9307fdc013cf..cfae832ddd84 100644 --- a/platform/platform-impl/src/com/intellij/ui/JBAccountInfoService.java +++ b/platform/platform-impl/src/com/intellij/ui/JBAccountInfoService.java @@ -50,9 +50,7 @@ public interface JBAccountInfoService { @NotNull LoginSession startLoginSession(@NotNull LoginMode loginMode); @SuppressWarnings("unused") - @NotNull CompletableFuture<@NotNull LicenseListResult> getAvailableLicenses(@NotNull String productCode, - int productReleaseVersion, - @NotNull LocalDate productReleaseDate); + @NotNull CompletableFuture<@NotNull LicenseListResult> getAvailableLicenses(@NotNull String productCode); static @Nullable JBAccountInfoService getInstance() { return JBAccountInfoServiceHolder.INSTANCE; diff --git a/plugins/settings-sync/src/com/intellij/settingsSync/auth/DummyJBAccountInfoService.kt b/plugins/settings-sync/src/com/intellij/settingsSync/auth/DummyJBAccountInfoService.kt index d0efdacb042b..85a172e27a6b 100644 --- a/plugins/settings-sync/src/com/intellij/settingsSync/auth/DummyJBAccountInfoService.kt +++ b/plugins/settings-sync/src/com/intellij/settingsSync/auth/DummyJBAccountInfoService.kt @@ -1,9 +1,7 @@ package com.intellij.settingsSync.auth -import com.intellij.openapi.extensions.PluginDescriptor import com.intellij.settingsSync.SettingsSyncEvents import com.intellij.ui.JBAccountInfoService -import java.time.LocalDate import java.util.concurrent.CompletableFuture import java.util.function.Consumer @@ -28,8 +26,6 @@ object DummyJBAccountInfoService : JBAccountInfoService { override fun getAvailableLicenses( productCode: String, - productReleaseVersion: Int, - productReleaseDate: LocalDate, ): CompletableFuture { TODO("Not yet implemented") }