Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90c75cf0 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Don't compare String8s to NULL.

Use String8::isEmpty instead. Note that this code path is hit
only if the zygote calls ::exit, and that never happens unless
the VM invocation fails.

Change-Id: I0e7d3a86a79b12b2174ca3bf0dbe1904e33c041a
parent b093e485
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ public:

    virtual void onExit(int code)
    {
        if (mClassName == NULL) {
        if (mClassName.isEmpty()) {
            // if zygote
            IPCThreadState::self()->stopProcess();
        }