File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8585
8686for lib_path in \
8787 " /apex/com.android.btservices/lib64/libbluetooth_jni.so" \
88+ " /apex/com.android.bt/lib64/libbluetooth_jni.so" \
8889 " /system/lib64/libbluetooth_jni.so" \
8990 " /system/lib64/libbluetooth_qti.so" \
9091 " /system_ext/lib64/libbluetooth_qti.so" ; do
@@ -171,6 +172,12 @@ if [ -f "$TEMP_DIR/$LIBRARY_NAME" ]; then
171172 MOD_APEX_LIB_DIR=" $MODPATH /apex/com.android.btservices/lib64"
172173 WORK_DIR=" $MODPATH /apex/com.android.btservices/work"
173174
175+ if [ ! -d " $APEX_LIB_DIR " ]; then
176+ APEX_LIB_DIR=" /apex/com.android.bt/lib64"
177+ MOD_APEX_LIB_DIR=" $MODPATH /apex/com.android.bt/lib64"
178+ WORK_DIR=" $MODPATH /apex/com.android.bt/work"
179+ fi
180+
174181 mkdir -p " $MOD_APEX_LIB_DIR " " $WORK_DIR "
175182
176183 cp " $TEMP_DIR /$LIBRARY_NAME " " $MOD_APEX_LIB_DIR /$LIBRARY_NAME "
You can’t perform that action at this time.
0 commit comments