mirror of
https://github.com/vector-im/riotX-android
synced 2025-10-05 15:52:47 +02:00
code style changes
This commit is contained in:
@@ -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?
|
||||
|
@@ -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(
|
||||
|
Reference in New Issue
Block a user