Skip to content

Commit

Permalink
QA - Removed one validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aitorbp committed Jan 16, 2024
1 parent 7a70c61 commit 9c69c00
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,7 @@ class LogsListActivity : AppCompatActivity() {
private fun openDownloadsFolder() {
try {
val intent = Intent(DownloadManager.ACTION_VIEW_DOWNLOADS)
if (intent.resolveActivity(packageManager) != null) {
startActivity(intent)
} else {
showMessageInSnackbar(message = this.getString(R.string.file_list_no_app_for_perform_action))
}
startActivity(intent)
} catch (e: ActivityNotFoundException) {
showMessageInSnackbar(message = this.getString(R.string.file_list_no_app_for_perform_action))
Timber.e("No Activity found to handle Intent")
Expand Down

0 comments on commit 9c69c00

Please sign in to comment.