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:
parent
c76cf35c27
commit
f6f4be305b
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue