mirror of
https://github.com/topjohnwu/libsu.git
synced 2024-11-23 12:09:42 +00:00
Disable image dex2oat on ART as it is extremely slow once triggered on some ROMs
This commit is contained in:
parent
21441f6a94
commit
f0246c763d
@ -200,6 +200,10 @@ public class RootServiceManager implements Handler.Callback {
|
||||
}
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
params += " -Xnoimage-dex2oat";
|
||||
}
|
||||
|
||||
final String niceNameCmd;
|
||||
switch (action) {
|
||||
case CMDLINE_START_SERVICE:
|
||||
|
Loading…
Reference in New Issue
Block a user