Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App requesting undeclared permission - "Test access to protected storage"

I've added to my manifest permission declaration for WRITE_EXTERNAL_STORAGE, and after some time I've noticed it asks also for Test access to protected storage when installing.
I declare in my manifest the minSdk as 14 and my targetSdk as 19.

How can I get rid of that ?

like image 779
SagiLow Avatar asked Dec 31 '13 19:12

SagiLow


2 Answers

That prompt would appear to be tied to READ_EXTERNAL_STORAGE, which you are presumably being given automatically since you requested WRITE_EXTERNAL_STORAGE.

How can I get rid of that ?

Remove your WRITE_EXTERNAL_STORAGE permission. This, of course, has side effects. :-)

like image 152
CommonsWare Avatar answered Sep 30 '22 13:09

CommonsWare


You have to be more specific. Setting WRITE_EXTERNAL_STORAGE permission also sets Test access to protected storage as this is a sub permission. I believe there is no way around this. Also you can see here: Development tools permission I did not set

like image 36
We're All Mad Here Avatar answered Sep 30 '22 14:09

We're All Mad Here