Don't access IAllocator from isolated process

Fixes: 297302510
Test: n/a
Change-Id: If9a3527f5dc52e4cc8080cea2be4e39ed04890e9
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp
index f949ddd..be163ba 100644
--- a/libs/hwui/renderthread/RenderProxy.cpp
+++ b/libs/hwui/renderthread/RenderProxy.cpp
@@ -323,9 +323,11 @@
             }
         });
     }
-    std::string grallocInfo;
-    GraphicBufferAllocator::getInstance().dump(grallocInfo);
-    dprintf(fd, "%s\n", grallocInfo.c_str());
+    if (!Properties::isolatedProcess) {
+        std::string grallocInfo;
+        GraphicBufferAllocator::getInstance().dump(grallocInfo);
+        dprintf(fd, "%s\n", grallocInfo.c_str());
+    }
 }
 
 void RenderProxy::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) {