code style changes

This commit is contained in:
NIkita Fedrunov 2022-12-23 13:24:05 +01:00
parent 2dc103f7ee
commit 03be46961e
2 changed files with 3 additions and 3 deletions

View File

@ -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?

View File

@ -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(