Skip to content

Notification settings: using back button from system settings does not update UI #12739

@TobiGr

Description

@TobiGr

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.28.0

Steps to reproduce the bug

  1. install app
  2. deny notifiacation permission request
  3. Go to settings > notification
  4. wait for the snackbar to appear
  5. use it to open the android system app's notification settings
  6. enable notifications
  7. use hardware back button to go back

Expected behavior

detect the changed permission state and make the settings on the page accessible.

Actual behavior

the in-app notification settings page does not recognize the changed permission

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

Currently, a new intent is launched to open the ANdorid app settings. The current implementation just starts an intent and tries to detect changes in onResume() which works if something different than the back button is used.

Using registerForActivityResult might be a solution to this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIIssue is related to the graphical user interfacebugIssue is related to a bugnew stream notificationIssue is related to notification shown for new streams

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions