AppOps: popup confirm dialog when calendar and email read contacts

Calendar and email are not supposed to read contacts by function.
Any system app that trys to do sensative operations must let users
know what will happen.

Change-Id: I3058f5dc7989577c2068299a0945927f35e3ef63
This commit is contained in:
Kun Liang 2014-12-08 13:49:13 +08:00 committed by Gerrit - the friendly Code Review server
parent c76cf35c27
commit f6f4be305b
1 changed files with 7 additions and 1 deletions

View File

@ -40,5 +40,11 @@
</pkg>
-->
</application>
<pkg name="com.android.calendar" type="system-app">
<op name="android:read_contacts" permission="ask" show="true"/>
</pkg>
<pkg name="com.android.email" type="system-app">
<op name="android:read_contacts" permission="ask" show="true"/>
</pkg>
</application>
</appops-policy>