manager: improve become_manager validation

This commit is contained in:
tiann
2022-12-23 12:50:07 +08:00
parent 64931d4ad1
commit 9391ebf79d
5 changed files with 14 additions and 7 deletions
@@ -11,7 +11,7 @@ public final class Natives {
}
// become root manager, return true if success.
public static native boolean becomeManager();
public static native boolean becomeManager(String pkg);
public static native int getVersion();