The developer doc: Requesting Permissions at Run Time clearly mentions what runtime permission is and how to use it. And I am able to execute them as well.
However, the question is : where does Android store the run-time permission values?
ie, when the user deletes the data associated with the app, the permissions are reset, so where do Android store these values? (is it in the app cache or in any other place). And in what format ? ( is it a database or a sharedpreferences file or any other) And how are they stored? (encryped or non-encrypted) .
Searched in many existing answers and developer docs, however couldn't find any useful info in this regard. Any help will be much appreciated.