avoid seeing duplicate import dialog at third party file opening
This commit is contained in:
parent
d6f8bd43bf
commit
9089edf04c
1 changed files with 1 additions and 0 deletions
|
|
@ -293,6 +293,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
||||||
|
|
||||||
if (intent?.action == Intent.ACTION_VIEW && intent.data != null) {
|
if (intent?.action == Intent.ACTION_VIEW && intent.data != null) {
|
||||||
tryImportContactsFromFile(intent.data)
|
tryImportContactsFromFile(intent.data)
|
||||||
|
intent.data = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue