Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio is adding me android.permission.USE_CREDENTIALS on my manifest

When i compile my app for release, a new permission called USE_CREDENTIALS is being added to my manifest.

<uses-permission android:name="android.permission.USE_CREDENTIALS"/>

Why? What is this permission? i can't find any official info about it on android developers guide!

Thanks

like image 318
NullPointerException Avatar asked Aug 23 '15 20:08

NullPointerException


1 Answers

Why?

You are probably getting it via some library that you are using.

What is this permission?

It is used, prior to Android 6.0, for using things like AccountManager.

i can't find any official info about it on android developers guide!

That is because Google got rid of this permission in Android 6.0, and the documentation at http://developer.android.com does a really poor job of dealing with removed API elements.

like image 182
CommonsWare Avatar answered Nov 05 '22 18:11

CommonsWare