Quick settings tile for N preview (draft)

Addresses #671 but has NOT fixed it yet.
This commit is contained in:
Mygod
2016-05-05 21:41:57 +08:00
parent 2c2e5790f5
commit 5966c9d874
3 changed files with 68 additions and 1 deletions
+11
View File
@@ -48,6 +48,9 @@
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</activity>
<activity
@@ -125,6 +128,14 @@
</intent-filter>
</service>
<service android:name=".ShadowsocksTileService" android:label="@string/app_name"
android:icon="@drawable/ic_start_connected"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
<receiver android:name=".ShadowsocksReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>