summaryrefslogtreecommitdiff
path: root/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-03-21 17:13:10 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-03-21 17:13:10 +0000
commit43e303886715d6115273cfba014a54805d3a1389 (patch)
tree799c478bff90fcada978801801b198873aad9338 /app/src/main/AndroidManifest.xml
parentd534cee490986771896f4fd2ca07742007ab6751 (diff)
Add PVC Widget #5076
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r--app/src/main/AndroidManifest.xml39
1 files changed, 30 insertions, 9 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index bab78c2..c91f330 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -1,34 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
- package="foundation.e.privacycentralapp">
+ package="foundation.e.privacycentralapp"
+ >
- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
- <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
+ <uses-permission
+ android:name="android.permission.WRITE_SECURE_SETTINGS"
tools:ignore="ProtectedPermissions"
/>
- <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
+ <uses-permission
+ android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
tools:ignore="ProtectedPermissions"
/>
<uses-permission android:name="lineageos.permission.ACCESS_BLOCKER" />
-
- <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"
+ <uses-permission
+ android:name="android.permission.QUERY_ALL_PACKAGES"
tools:ignore="QueryAllPackagesPermission"
/>
<application
- android:name=".PrivacyCentralApplication"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
+ android:name=".PrivacyCentralApplication"
android:persistent="${persistent}"
android:supportsRtl="true"
android:theme="@style/Theme.PrivacyCentralApp"
android:windowSoftInputMode="adjustResize"
-
tools:replace="android:icon,android:label,android:theme"
>
+ <receiver
+ android:exported="true"
+ android:name=".Widget"
+ >
+ <intent-filter>
+ <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
+ </intent-filter>
+
+ <meta-data
+ android:name="android.appwidget.provider"
+ android:resource="@xml/widget_info"
+ />
+ </receiver>
+ <receiver android:name=".widget.WidgetCommandReceiver">
+ <intent-filter>
+ <action android:name="toggle_privacy" />
+ </intent-filter>
+ </receiver>
+
<activity android:name=".main.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />