diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-17 05:45:40 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-17 05:45:40 -0500 |
commit | 416d3adda740337432255f7a8425be7da4c84a74 (patch) | |
tree | 824b3e43618f25fc1614601bc4a52fd991039326 /app/src/main/AndroidManifest.xml | |
parent | d5d3566e6c210fb8ac715cc7c010e629d736a9a3 (diff) |
QuickTileService: Implement and update from VpnService
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 11c6eecb..5ffcb928 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -24,7 +24,11 @@ android:label="@string/edit_activity_title" /> <activity android:name=".SettingsActivity" - android:label="@string/settings" /> + android:label="@string/settings"> + <intent-filter> + <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" /> + </intent-filter> + </activity> <receiver android:name=".BootCompletedReceiver"> <intent-filter> @@ -33,6 +37,17 @@ </receiver> <service + android:name=".QuickTileService" + android:icon="@drawable/ic_tile" + android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"> + <intent-filter> + <action android:name="android.service.quicksettings.action.QS_TILE" /> + </intent-filter> + <meta-data + android:name="android.service.quicksettings.ACTIVE_TILE" + android:value="true" /> + </service> + <service android:name=".VpnService" android:exported="false" /> </application> |