mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-07-03 14:08:39 +02:00
Disable foreground service on API 34+
This commit is contained in:
@@ -63,6 +63,7 @@
|
||||
<service
|
||||
android:name=".core.Service"
|
||||
android:exported="false"
|
||||
android:enabled="@bool/enable_fg_service"
|
||||
android:foregroundServiceType="dataSync" />
|
||||
|
||||
<service
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="enable_fg_service">false</bool>
|
||||
</resources>
|
||||
@@ -15,4 +15,6 @@
|
||||
|
||||
<drawable name="ic_launcher">@drawable/ic_logo</drawable>
|
||||
|
||||
<bool name="enable_fg_service">true</bool>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user