5

I want to close the WRITE_SETTINGS permission intent as the user allows the permission. I have seen some apps doing this like getting permission and closing the intent automatically.

How I can achieve this functionality?

Tariq Hussain
  • 409
  • 1
  • 5
  • 19
  • I don't really understand, do you have an example pls ? – Louis Chabert May 24 '22 at 13:34
  • I don't remeber the name of apps but I have seen that like when ask for the runtime permission for write settings permission we have to open intent. I want to close that intent when user allow the permission. – Tariq Hussain May 24 '22 at 17:37
  • I will search in this way ;) – Louis Chabert May 25 '22 at 06:44
  • Have you ever succeeded in creating the intent you want? maybe this post can help you : https://stackoverflow.com/questions/15393899/how-to-close-activity-and-go-back-to-previous-activity-in-android – Louis Chabert May 25 '22 at 07:33

0 Answers0