From 03be46961e6f1601cd28f2b86575e9ae6f9ae7d6 Mon Sep 17 00:00:00 2001 From: NIkita Fedrunov Date: Fri, 23 Dec 2022 13:24:05 +0100 Subject: [PATCH] code style changes --- .../sdk/api/session/permalinks/DeferredPermalinkService.kt | 4 ++-- .../session/permalinks/DefaultDeferredPermalinkService.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/permalinks/DeferredPermalinkService.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/permalinks/DeferredPermalinkService.kt index 9aef373b22..966c8b8f1c 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/permalinks/DeferredPermalinkService.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/permalinks/DeferredPermalinkService.kt @@ -17,12 +17,12 @@ package org.matrix.android.sdk.api.session.permalinks /** - * Service to handle deferred links, e.g. when user open link to the room but the app is not installed yet + * Service to handle deferred links, e.g. when user open link to the room but the app is not installed yet. */ interface DeferredPermalinkService { /** - * Checks system clipboard for matrix.to links and returns first room link if any found + * Checks system clipboard for matrix.to links and returns first room link if any found. * @return first room link in clipboard or null if none is found */ fun getLinkFromClipBoard(): String? diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/permalinks/DefaultDeferredPermalinkService.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/permalinks/DefaultDeferredPermalinkService.kt index 6c5c716e48..caf5e5c6e2 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/permalinks/DefaultDeferredPermalinkService.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/permalinks/DefaultDeferredPermalinkService.kt @@ -18,10 +18,10 @@ package org.matrix.android.sdk.internal.session.permalinks import android.content.ClipboardManager import android.content.Context +import androidx.core.content.getSystemService import org.matrix.android.sdk.api.session.permalinks.DeferredPermalinkService import org.matrix.android.sdk.api.session.permalinks.PermalinkData import org.matrix.android.sdk.api.session.permalinks.PermalinkParser -import androidx.core.content.getSystemService import javax.inject.Inject class DefaultDeferredPermalinkService @Inject constructor(