Move vendor property manipulation to late start

This commit is contained in:
topjohnwu
2020-05-17 14:45:08 -07:00
parent eca2168685
commit 97db49a57b
7 changed files with 83 additions and 77 deletions
+3 -4
View File
@@ -54,8 +54,8 @@ void magiskhide_handler(int client) {
switch (req) {
case LAUNCH_MAGISKHIDE:
launch_magiskhide(client);
return;
res = launch_magiskhide();
break;
case STOP_MAGISKHIDE:
res = stop_magiskhide();
break;
@@ -67,8 +67,7 @@ void magiskhide_handler(int client) {
break;
case LS_HIDELIST:
ls_list(client);
client = -1;
break;
return;
case HIDE_STATUS:
res = hide_enabled() ? HIDE_IS_ENABLED : HIDE_NOT_ENABLED;
break;