Merge "app_process: Fix className check" am: 1eeec581f7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2193706 Change-Id: I80d1b231fc45009214c3e4bcfe50f25687591d27 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user