1
0
mirror of https://github.com/etesync/android synced 2025-01-11 16:21:10 +00:00

Import: minor code cleanups.

This commit is contained in:
Tom Hacohen 2019-02-24 08:48:24 +00:00
parent b786e2cae1
commit 1b15aaab19

View File

@ -144,9 +144,9 @@ class ImportFragment : DialogFragment() {
if (data != null) { if (data != null) {
// Get the URI of the selected file // Get the URI of the selected file
val uri = data.data!! val uri = data.data!!
App.log.info("Importing uri = ${uri.toString()}") App.log.info("Importing uri = ${uri}")
try { try {
inputStream = activity!!.getContentResolver().openInputStream(uri) inputStream = activity!!.contentResolver.openInputStream(uri)
Thread(ImportCalendarsLoader()).start() Thread(ImportCalendarsLoader()).start()
} catch (e: Exception) { } catch (e: Exception) {