Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Revoke account permission for an app

I wrote a code that request an AuthToken from the account manager, using the getAuthToken(). On the first time - the user needs to "Allow" the authentication, but later on there's no need to.

I want to know if there's a way to revoke that permission, using the android system or code, in order to help me debug my program (I'm running out of accounts :)). Uninstalling the app doesn't help.

Thank you,

Udi

like image 970
Udinic Avatar asked Apr 27 '11 14:04

Udinic


1 Answers

I've found that when you remove and re-add the account, then the permission is revoked, and you have to allow it again.

That's the easiest way i've found, I'm marking this as the answer unless I'll get a better one.

like image 153
Udinic Avatar answered Sep 22 '22 23:09

Udinic