forked from upstream-mirrors/quik
Add intent to launch SIA
This commit is contained in:
@@ -61,7 +61,11 @@ class ShouldIAnswerBlockingClient @Inject constructor(
|
||||
override fun unblock(address: String): Completable = Completable.fromCallable { showSia() }
|
||||
|
||||
private fun showSia() {
|
||||
// TODO
|
||||
val pm = context.packageManager
|
||||
pm.getLaunchIntentForPackage("org.mistergroup.shouldianswer")
|
||||
?: pm.getLaunchIntentForPackage("org.mistergroup.shouldianswerpersonal")
|
||||
?: pm.getLaunchIntentForPackage("org.mistergroup.muzutozvednout")
|
||||
?.run(context::startActivity)
|
||||
}
|
||||
|
||||
private class Binder(
|
||||
|
||||
Reference in New Issue
Block a user