* commit 'aab0c1af12c3a7495e0aa8b266a46e5e557323ce': PreInitializeNativeBridge only if its Available
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user