Trying to prevent the same intent to be processed twice, seems it can happen...
This commit is contained in:
parent
359645dc4e
commit
2794147fd7
1 changed files with 5 additions and 0 deletions
|
@ -329,6 +329,11 @@ class MainActivity : GenericActivity(), SnackBarActivity, NavController.OnDestin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prevent this intent to be processed again
|
||||||
|
intent.action = null
|
||||||
|
intent.data = null
|
||||||
|
intent.extras?.clear()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun handleTelOrSipUri(uri: Uri) {
|
private fun handleTelOrSipUri(uri: Uri) {
|
||||||
|
|
Loading…
Reference in a new issue