Merge "app_process: Fix className check"

This commit is contained in:
Mikhail Naganov
2022-08-25 15:41:02 +00:00
committed by Gerrit Code Review

View File

@@ -334,7 +334,7 @@ int main(int argc, char* const argv[])
if (zygote) {
runtime.start("com.android.internal.os.ZygoteInit", args, zygote);
} else if (className) {
} else if (!className.isEmpty()) {
runtime.start("com.android.internal.os.RuntimeInit", args, zygote);
} else {
fprintf(stderr, "Error: no class name or --zygote supplied.\n");