This commit is contained in:
Bnyro 2022-05-29 18:07:38 +02:00
parent cd47970eac
commit 7b34487079
3 changed files with 4 additions and 2 deletions

View File

@ -165,6 +165,7 @@
<activity
android:name=".RouterActivity"
android:exported="true"
android:launchMode="singleInstance"
>
<intent-filter>
<action android:name="android.intent.action.SEND" />

View File

@ -69,12 +69,12 @@ import com.google.android.exoplayer2.util.RepeatModeUtil
import com.google.android.material.button.MaterialButton
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import com.squareup.picasso.Picasso
import org.chromium.net.CronetEngine
import retrofit2.HttpException
import java.io.IOException
import java.net.URLEncoder
import java.util.concurrent.Executors
import kotlin.math.abs
import org.chromium.net.CronetEngine
import retrofit2.HttpException
var isFullScreen = false

View File

@ -31,6 +31,7 @@ class RouterActivity : AppCompatActivity() {
intent?.flags = Intent.FLAG_ACTIVITY_CLEAR_TASK
intent?.data = Uri.parse(it)
this.startActivity(intent)
this.finish()
}
}
}