mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 19:37:39 +00:00
Disable CompatVectorFromResources
This commit is contained in:
parent
49dfa2c3a0
commit
384c257a74
@ -6,7 +6,6 @@ import android.app.Application
|
|||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.res.Configuration
|
import android.content.res.Configuration
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import androidx.appcompat.app.AppCompatDelegate
|
|
||||||
import com.topjohnwu.magisk.DynAPK
|
import com.topjohnwu.magisk.DynAPK
|
||||||
import com.topjohnwu.magisk.core.utils.AppShellInit
|
import com.topjohnwu.magisk.core.utils.AppShellInit
|
||||||
import com.topjohnwu.magisk.core.utils.BusyBoxInit
|
import com.topjohnwu.magisk.core.utils.BusyBoxInit
|
||||||
@ -25,7 +24,6 @@ open class App() : Application() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init {
|
init {
|
||||||
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true)
|
|
||||||
Shell.setDefaultBuilder(Shell.Builder.create()
|
Shell.setDefaultBuilder(Shell.Builder.create()
|
||||||
.setFlags(Shell.FLAG_MOUNT_MASTER)
|
.setFlags(Shell.FLAG_MOUNT_MASTER)
|
||||||
.setInitializers(BusyBoxInit::class.java, AppShellInit::class.java)
|
.setInitializers(BusyBoxInit::class.java, AppShellInit::class.java)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user