Fixed KitKat manifest

This commit is contained in:
M66B 2016-07-24 20:41:40 +02:00
parent d89c6c2ed4
commit ee1e625205
1 changed files with 18 additions and 2 deletions

View File

@ -14,6 +14,14 @@
<uses-permission android:name="android.permission.VIBRATE" />
<!-- http://developer.android.com/guide/topics/security/permissions.html#normal-dangerous -->
<permission
android:name="eu.faircode.netguard.permission.ADMIN"
android:description="@string/app_description"
android:label="@string/app_name"
android:protectionLevel="signature" />
<uses-permission android:name="eu.faircode.netguard.permission.ADMIN" />
<!-- Firebase -->
<uses-permission
android:name="com.google.android.c2dm.permission.RECEIVE"
@ -174,12 +182,20 @@
android:label="@string/app_name">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="eu.faircode.netguard.APPWIDGET_ON" />
<action android:name="eu.faircode.netguard.APPWIDGET_OFF" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widget" />
</receiver>
<receiver
android:name=".WidgetAdmin"
android:label="@string/app_name"
android:permission="eu.faircode.netguard.permission.ADMIN">
<intent-filter>
<action android:name="eu.faircode.netguard.APPWIDGET_ON" />
<action android:name="eu.faircode.netguard.APPWIDGET_OFF" />
</intent-filter>
</receiver>
</application>
</manifest>