Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jinliu9508 committed Oct 30, 2024
1 parent eb9fc87 commit 7f1523c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ object AlertDialogPrepromptForAndroidSettings {
val messageTemplate = activity.getString(R.string.permission_not_available_message)
val message = messageTemplate.format(previouslyDeniedPostfix)

// simulate showing a dialog in a finishing activity
activity.finish()

// ensure the activity that will be showing the dialog is available
if (activity != null && !activity.isFinishing) {
AlertDialog.Builder(activity)
Expand Down

0 comments on commit 7f1523c

Please sign in to comment.