Detekt: enable rule exceptions.SwallowedException and fix existing issue.
This commit is contained in:
parent
d0df2cd088
commit
54e742075d
16 changed files with 20 additions and 20 deletions
|
|
@ -88,7 +88,7 @@ class FullScreenIntentPermissionsPresenter(
|
|||
"package:${buildMeta.applicationId}".toUri()
|
||||
)
|
||||
externalIntentLauncher.launch(intent)
|
||||
} catch (e: ActivityNotFoundException) {
|
||||
} catch (_: ActivityNotFoundException) {
|
||||
val intent = Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS)
|
||||
.putExtra(Settings.EXTRA_APP_PACKAGE, buildMeta.applicationId)
|
||||
externalIntentLauncher.launch(intent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue