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