- extension for ErrorHelperActiviity to prevent NPE
This commit is contained in:
parent
9de968cb26
commit
1668b2634c
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ class ErrorHelperActivity : NoSplashAppCompatActivity() {
|
|||
errorDialog.status = intent.getStringExtra("status")
|
||||
errorDialog.sound = intent.getIntExtra("soundid", R.raw.error)
|
||||
errorDialog.title = intent.getStringExtra("title")
|
||||
errorDialog.clipboardContent = intent.getStringExtra("clipboardContent")
|
||||
if (intent.hasExtra("clipboardContent"))
|
||||
errorDialog.clipboardContent = intent.getStringExtra("clipboardContent")
|
||||
errorDialog.show(supportFragmentManager, "Error")
|
||||
|
||||
if (SP.getBoolean(R.string.key_ns_create_announcements_from_errors, true)) {
|
||||
|
|
Loading…
Reference in a new issue