summaryrefslogtreecommitdiff
path: root/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2020-07-26 02:51:34 +0200
committercyBerta <cyberta@riseup.net>2020-07-26 02:51:34 +0200
commitb77680c8db5bb37512b21a5548c25aff9bc5703f (patch)
tree5bf110f07c3406803f3237d1d857277891cac2f5 /app/src/main/AndroidManifest.xml
parente0123c8c5cd5f5def76810170b3d1202f5d8dbb3 (diff)
implement tile service #8762
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r--app/src/main/AndroidManifest.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index c2ae2cb3..ec053185 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -79,9 +79,11 @@
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.MAIN" />
-
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
+ <intent-filter>
+ <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
+ </intent-filter>
</activity>
<activity
@@ -114,6 +116,22 @@
android:exported="false"
android:permission="android.permission.BIND_JOB_SERVICE">
</service>
+
+ <service
+ android:name=".BitmaskTileService"
+ android:icon="@drawable/vpn_disconnected"
+ android:label="@string/qs_title"
+ android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
+ android:value="true">
+ <intent-filter>
+ <action android:name="android.service.quicksettings.action.QS_TILE" />
+ </intent-filter>
+
+ <meta-data
+ android:name="android.service.quicksettings.ACTIVE_TILE"
+ android:value="false" />
+ </service>
+
</application>
</manifest>