I have created a Custom DocumentsProvider for my Android app. How can i make this private, so that it's exclusively accessible in my own app where it is declared.
- I tried making exported = False i get a security Exception.
- I tried to create new custom permission and use it in my provider tag in manifest, checking if this permission is granted or not before doing anything in DocumentProvider's methods.
But my DocumentsProvider is still accessible to all other apps. How to make this accessible exclusively in my app.