aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothFrameworkInitializer.java
diff options
context:
space:
mode:
authorWilliam Escande <wescande@google.com>2022-03-19 01:36:07 +0100
committerWilliam Escande <wescande@google.com>2022-03-23 11:19:47 +0100
commit5b0b518c49b42626350e07783246cb476d776014 (patch)
tree06e24555e66aefe1dd8786082a386ac4222987f6 /framework/java/android/bluetooth/BluetoothFrameworkInitializer.java
parent069fbbc0ed27c1c6858db7845358f2e7541211ea (diff)
Add permission to load library from system_ext
Bluetooth a2dp vendor codec are manage by the presence (or absence) of the corresponding `.so`. Since we moved as an apex, the `.so` cannot be found in the current directory. This CL try to load each `.so` from various location. This CL add the `/system_ext/${LIB}` to the list of permitted_paths, to allow dlopen of aptx & aptxHD library. We ensure we don't load a 32 lib in a 64 module thanks to the permitted_paths. Test: build + start bt and watch log Fix: 223532240 Tag: #refactor Ignore-AOSP-First: No apex on aosp Change-Id: Ie1dd9877edc905230a4f6d05b991e26c9908f8c7
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothFrameworkInitializer.java')
0 files changed, 0 insertions, 0 deletions