Fix activity thread.

Fix activity thread to not call into the threaded renderer if it is
an isolated process.

Change-Id: I57035f5ff64d134866f9d2e19c60ab99657aea64
This commit is contained in:
Michael Lentine
2016-02-01 20:44:34 -06:00
parent 03d8f76836
commit 2ba303fa9b

View File

@@ -5080,11 +5080,11 @@ public final class ActivityThread {
Log.e(TAG, "Unable to setupGraphicsSupport and setupJitProfileSupport " +
"due to missing code-cache directory");
}
}
// Add the lib dir path to hardware renderer so that vulkan layers
// can be searched for within that directory.
ThreadedRenderer.setLibDir(data.info.getLibDir());
// Add the lib dir path to hardware renderer so that vulkan layers
// can be searched for within that directory.
ThreadedRenderer.setLibDir(data.info.getLibDir());
}
// Install the Network Security Config Provider. This must happen before the application
// code is loaded to prevent issues with instances of TLS objects being created before