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

* commit 'aab0c1af12c3a7495e0aa8b266a46e5e557323ce':
  PreInitializeNativeBridge only if its Available
This commit is contained in:
Calin Juravle
2014-10-30 23:42:15 +00:00
committed by Android Git Automerger

View File

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