On 01/08/2015 01:11 AM, harish kavali wrote:
> Dear all,
> 
> 
>       is it possible to revoke certain permissions for untrusted apps
> dynamically. for eg i want to revoke send sms permission for an
> application (running in untrusted domain) when it reaches some count
> (say 200 sms).

Maybe using AppOps, although I don't think that the SMS operations are
currently exposed as public string constants and thus cannot be used
from the appops command.  We have an extension to AppOps called
Enterprise Ops to support locking certain operations based on a policy, see:
https://android-review.googlesource.com/#/c/73810/
and
http://seandroid.bitbucket.org/EnterpriseOperationsEOps.html

This is included in our branches (e.g. seandroid-5.0.2) and we also
expose a user interface for changing the AppOps settings via our SEAdmin
app, also included if you are using our local manifest file,
http://seandroid.bitbucket.org/Usingareleaseversion.html


_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to