am 21c3666e: am ef0a7e8f: Merge "Use native brige only if we have a private data directory." into lmp-mr1-dev
* commit '21c3666effbcc79737af2f80f930fa9deee1622e': Use native brige only if we have a private data directory.
This commit is contained in:
@@ -418,10 +418,6 @@ 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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user