问题
For some intents, there are multiple providers which provide the functionality.
An example:
For the intent Intent.ACTION_SET_WALLPAPER it shows many options image with a Don't ask again
option.
Now if the user checks it and opens through some app, how to clear it the next time programmatically if the user requests to show all the possible options again? i.e. the prompt should show all the available providers again.
I'm starting the intent in this way
val intent = Intent(Intent.ACTION_SET_WALLPAPER)
startActivity(intent)
来源:https://stackoverflow.com/questions/59279969/android-intent-clear-dont-ask-again