kopia lustrzana https://github.com/ge0rg/aprsdroid
Prefs: open Log after key/json import
rodzic
65ace05a56
commit
1b186f97ed
|
@ -85,6 +85,7 @@ class KeyfileImportActivity extends Activity {
|
||||||
Toast.makeText(this, msg, Toast.LENGTH_SHORT).show()
|
Toast.makeText(this, msg, Toast.LENGTH_SHORT).show()
|
||||||
db.addPost(System.currentTimeMillis(), StorageDatabase.Post.TYPE_INFO,
|
db.addPost(System.currentTimeMillis(), StorageDatabase.Post.TYPE_INFO,
|
||||||
getString(R.string.post_info), msg)
|
getString(R.string.post_info), msg)
|
||||||
|
startActivity(new Intent(this, classOf[LogActivity]))
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
case e : Exception =>
|
case e : Exception =>
|
||||||
|
|
|
@ -52,6 +52,7 @@ class ProfileImportActivity extends Activity {
|
||||||
Toast.makeText(this, msg, Toast.LENGTH_SHORT).show()
|
Toast.makeText(this, msg, Toast.LENGTH_SHORT).show()
|
||||||
db.addPost(System.currentTimeMillis(), StorageDatabase.Post.TYPE_INFO,
|
db.addPost(System.currentTimeMillis(), StorageDatabase.Post.TYPE_INFO,
|
||||||
getString(R.string.profile_import_activity), msg)
|
getString(R.string.profile_import_activity), msg)
|
||||||
|
startActivity(new Intent(this, classOf[LogActivity]))
|
||||||
} catch {
|
} catch {
|
||||||
case e : Exception =>
|
case e : Exception =>
|
||||||
val errmsg = getString(R.string.profile_import_error, e.getMessage())
|
val errmsg = getString(R.string.profile_import_error, e.getMessage())
|
||||||
|
|
Ładowanie…
Reference in New Issue