code style changes
This commit is contained in:
parent
2dc103f7ee
commit
03be46961e
@ -17,12 +17,12 @@
|
|||||||
package org.matrix.android.sdk.api.session.permalinks
|
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 {
|
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
|
* @return first room link in clipboard or null if none is found
|
||||||
*/
|
*/
|
||||||
fun getLinkFromClipBoard(): String?
|
fun getLinkFromClipBoard(): String?
|
||||||
|
@ -18,10 +18,10 @@ package org.matrix.android.sdk.internal.session.permalinks
|
|||||||
|
|
||||||
import android.content.ClipboardManager
|
import android.content.ClipboardManager
|
||||||
import android.content.Context
|
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.DeferredPermalinkService
|
||||||
import org.matrix.android.sdk.api.session.permalinks.PermalinkData
|
import org.matrix.android.sdk.api.session.permalinks.PermalinkData
|
||||||
import org.matrix.android.sdk.api.session.permalinks.PermalinkParser
|
import org.matrix.android.sdk.api.session.permalinks.PermalinkParser
|
||||||
import androidx.core.content.getSystemService
|
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
class DefaultDeferredPermalinkService @Inject constructor(
|
class DefaultDeferredPermalinkService @Inject constructor(
|
||||||
|
Loading…
Reference in New Issue
Block a user