[app] Always use recreate for parasitic manager
This commit is contained in:
parent
658115035c
commit
5c27c55720
|
|
@ -154,7 +154,7 @@ public class MainActivity extends BaseActivity {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void restart() {
|
public void restart() {
|
||||||
if (BuildCompat.isAtLeastS()) {
|
if (BuildCompat.isAtLeastS() || App.isParasitic()) {
|
||||||
recreate();
|
recreate();
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue