Merge "Don't compare String8s to NULL."
diff --git a/cmds/app_process/app_main.cpp b/cmds/app_process/app_main.cpp
index c520b58..859d83b 100644
--- a/cmds/app_process/app_main.cpp
+++ b/cmds/app_process/app_main.cpp
@@ -97,7 +97,7 @@
 
     virtual void onExit(int code)
     {
-        if (mClassName == NULL) {
+        if (mClassName.isEmpty()) {
             // if zygote
             IPCThreadState::self()->stopProcess();
         }