Fix tile service
This commit is contained in:
@@ -34,6 +34,11 @@
|
||||
android:exported="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:launchMode="singleTask">
|
||||
|
||||
<meta-data
|
||||
android:name="android.app.shortcuts"
|
||||
android:resource="@xml/shortcuts" />
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
@@ -70,9 +75,10 @@
|
||||
<data android:scheme="content" />
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="android.app.shortcuts"
|
||||
android:resource="@xml/shortcuts" />
|
||||
<intent-filter>
|
||||
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
|
||||
</intent-filter>
|
||||
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
@@ -107,7 +113,7 @@
|
||||
android:name=".bg.TileService"
|
||||
android:directBootAware="true"
|
||||
android:exported="true"
|
||||
android:icon="@drawable/ic_launcher_foreground"
|
||||
android:icon="@drawable/ic_menu"
|
||||
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
|
||||
tools:targetApi="n">
|
||||
<intent-filter>
|
||||
|
||||
@@ -45,5 +45,4 @@ class TileService : TileService(), ServiceConnection.Callback {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user