mirror of
https://github.com/etesync/android
synced 2025-01-11 08:10:58 +00:00
Import: minor code cleanups.
This commit is contained in:
parent
b786e2cae1
commit
1b15aaab19
@ -144,9 +144,9 @@ class ImportFragment : DialogFragment() {
|
||||
if (data != null) {
|
||||
// Get the URI of the selected file
|
||||
val uri = data.data!!
|
||||
App.log.info("Importing uri = ${uri.toString()}")
|
||||
App.log.info("Importing uri = ${uri}")
|
||||
try {
|
||||
inputStream = activity!!.getContentResolver().openInputStream(uri)
|
||||
inputStream = activity!!.contentResolver.openInputStream(uri)
|
||||
|
||||
Thread(ImportCalendarsLoader()).start()
|
||||
} catch (e: Exception) {
|
||||
|
Loading…
Reference in New Issue
Block a user