Snap for 9665772 from cb5a367a79a71163d125e9f39c38e0c6727a61f6 to mainline-wifi-release

Change-Id: I3508fda8a14fac3e520295545d10e23835cda196
diff --git a/Android.bp b/Android.bp
index e653f3f..71e5876 100644
--- a/Android.bp
+++ b/Android.bp
@@ -65,9 +65,15 @@
     ],
 
     sdk_version: "core_current",
-    // SLF4J is used by mockftpserver, both of them are used in tests only.
+    apex_available: [
+        "com.android.ondevicepersonalization",
+    ],
     visibility: [
+        // SLF4J is used by mockftpserver, both of them are used in tests only.
         "//external/mockftpserver",
         "//libcore",
+        // SLF4J is used by apache-velocity-engine, a dependency of the OnDevicePersonalization module.
+        "//external/apache-velocity-engine",
+        "//packages/modules/OnDevicePersonalization:__subpackages__",
     ],
 }