OAT files outside the ART APEX are no longer loaded from the ART
namespace.

Original change: https://android-review.googlesource.com/c/platform/art/+/1708389

Test: Boot
Bug: 130340935
Bug: 171732668
Change-Id: Ib088f4f68c627e0abdd3d12dbc7d866763cab552
Merged-In: Ib088f4f68c627e0abdd3d12dbc7d866763cab552
diff --git a/build/apex/linker.config.json b/build/apex/linker.config.json
index 7cdbe80..f99b4b5 100644
--- a/build/apex/linker.config.json
+++ b/build/apex/linker.config.json
@@ -1,19 +1,10 @@
 {
   "permittedPaths": [
-    // App odex files need to be dlopen'ed by the ART runtime, and JVMTI
-    // libraries used in ART testing are located under /data.
+    // JVMTI libraries used in ART testing are located under /data.
     // TODO(b/171732668): Narrow this down.
     "/data",
 
-    // odex files are also in /system/framework and
-    // /apex/com.android.art/javalib, and the ART APEX primary boot image is in
-    // the latter location.
-    "/system/framework",
-    "/apex/com.android.art/javalib",
-
-    // If on-device signing has run, there may be oat / odex files for
-    // the boot class path extensions and system_server in the ART APEX data
-    // directory.
-    "/data/misc/apexdata/com.android.art/dalvik-cache"
+    // For ART APEX primary boot image and odex files.
+    "/apex/com.android.art/javalib"
   ]
 }