I made a small app just for testing the Sharing component.
When you execute the sharing you will get a list of all apps in your device which can be used for sharing, you can click one and choose to use this app "once" or "always".
By accident I clicked "always" and now it is using directly that app (gmail) even when I make a new app. Can anyone tell me how to get the list back, I'm using Android 12.