From 2ba303fa9b74e7449df43fae73a4622fbb4bfcf5 Mon Sep 17 00:00:00 2001 From: Michael Lentine Date: Mon, 1 Feb 2016 20:44:34 -0600 Subject: [PATCH] Fix activity thread. Fix activity thread to not call into the threaded renderer if it is an isolated process. Change-Id: I57035f5ff64d134866f9d2e19c60ab99657aea64 --- core/java/android/app/ActivityThread.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java index 00c11d3ab728a..b79b04c3f841b 100644 --- a/core/java/android/app/ActivityThread.java +++ b/core/java/android/app/ActivityThread.java @@ -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