diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java index b5b27536d4c6e..c22a94187fe0a 100644 --- a/core/java/android/app/ActivityThread.java +++ b/core/java/android/app/ActivityThread.java @@ -5078,11 +5078,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