resolve merge conflicts of acbd002 to lmp-mr1-dev-plus-aosp.

Change-Id: I50095f77a43c7e116bcedb1ad7cb7b45640cf1c7
This commit is contained in:
Calin Juravle
2014-10-30 23:27:54 +00:00

View File

@@ -418,6 +418,10 @@ static pid_t ForkAndSpecializeCommon(JNIEnv* env, uid_t uid, gid_t gid, jintArra
pid_t pid = fork(); pid_t pid = fork();
if (pid == 0) { if (pid == 0) {
if (!is_system_server && dataDir == NULL) {
ALOGE("Application private dir cannot be null");
RuntimeAbort(env);
}
// The child process. // The child process.
gMallocLeakZygoteChild = 1; gMallocLeakZygoteChild = 1;