diff --git a/device.mk b/device.mk index ab8880f..3efabee 100644 --- a/device.mk +++ b/device.mk @@ -329,8 +329,7 @@ PRODUCT_PACKAGES += \ librmnetctl \ libshim_ril \ libprotobuf-cpp-full \ - libxml2 \ - rild_socket + libxml2 #RIL PRODUCT_PACKAGES += \ diff --git a/libshims/Android.mk b/libshims/Android.mk index 79c49bf..5768940 100644 --- a/libshims/Android.mk +++ b/libshims/Android.mk @@ -32,13 +32,6 @@ LOCAL_MODULE := libshim_ims LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY) -include $(CLEAR_VARS) -LOCAL_SRC_FILES := rild_socket.c -LOCAL_MODULE := rild_socket -LOCAL_MODULE_TAGS := optional - -include $(BUILD_SHARED_LIBRARY) - include $(CLEAR_VARS) LOCAL_SRC_FILES := camera_hal.cpp LOCAL_MODULE := libshim_camera_hal diff --git a/libshims/rild_socket.c b/libshims/rild_socket.c deleted file mode 100644 index 28c6e44..0000000 --- a/libshims/rild_socket.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright (C) 2017 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#define MAX_SOCKET_NAME_LENGTH 6 - -char rild[MAX_SOCKET_NAME_LENGTH] = "rild"; diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index c74e141..ae8d49e 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -58,7 +58,7 @@ on fs on init # Symbols required for motorola blobs - export LD_SHIM_LIBS /system/vendor/lib/lib-imsvt.so|libshim_ims.so:/system/vendor/bin/adspd|libshim_adsp.so:/system/vendor/lib/libril-qc-qmi-1.so|rild_socket.so:/system/lib/libandroid.so|libshim_ril.so:/system/lib/lib_motsensorlistener.so|libsensor.so:/system/lib/libjustshoot.so|libshims_camera.so:/system/vendor/lib/libguy.so|libshim_camera_hal.so + export LD_SHIM_LIBS /system/vendor/lib/lib-imsvt.so|libshim_ims.so:/system/vendor/bin/adspd|libshim_adsp.so:/system/lib/libandroid.so|libshim_ril.so:/system/lib/lib_motsensorlistener.so|libsensor.so:/system/lib/libjustshoot.so|libshims_camera.so:/system/vendor/lib/libguy.so|libshim_camera_hal.so write /sys/module/qpnp_rtc/parameters/poweron_alarm 1