Skip to content

Commit

Permalink
pme: ril: Shim a missing symbol
Browse files Browse the repository at this point in the history
Change-Id: I7590180ff103ac271f8eb66eca61820f73520b5a
  • Loading branch information
crpalmer committed Dec 19, 2016
1 parent 2fde5f9 commit 1bf5baa
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 1 deletion.
1 change: 1 addition & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ PRODUCT_PACKAGES += \
libhtcril_db \
libprotobuf-cpp-full \
librmnetctl \
libshim_ril \
libxml2

# Wifi
Expand Down
25 changes: 25 additions & 0 deletions libshim_ril/Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (C) 2016 The CyanogenMod 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.

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
htc_ril.c

LOCAL_MODULE := libshim_ril
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES

include $(BUILD_SHARED_LIBRARY)
20 changes: 20 additions & 0 deletions libshim_ril/htc_ril.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright (C) 2016 The CyanogenMod 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.
*/

int checkRequestInfo (struct RequestInfo *pRI)
{
return 0;
}
2 changes: 1 addition & 1 deletion rootdir/etc/init.qcom.rc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ on early-init
chmod 0755 /sys/kernel/debug

on init
export LD_SHIM_LIBS "/system/lib/liblog.so|/system/lib/liblog_htc.so:/system/lib64/liblog.so|/system/lib64/liblog_htc.so:/system/lib/libBeautyChat.so|/system/lib/libshim_camera.so:/system/lib/libpower.so|/system/lib/libshim_power.so:/system/lib64/libpower.so|/system/lib64/libshim_power.so"
export LD_SHIM_LIBS "/system/lib/liblog.so|/system/lib/liblog_htc.so:/system/lib64/liblog.so|/system/lib64/liblog_htc.so:/system/lib/libBeautyChat.so|/system/lib/libshim_camera.so:/system/lib/libpower.so|/system/lib/libshim_power.so:/system/lib64/libpower.so|/system/lib64/libshim_power.so:/system/lib64/libril.so|/system/lib64/libshim_ril.so"

# Set permissions for persist partition
mkdir /persist 0771 system system
Expand Down

0 comments on commit 1bf5baa

Please sign in to comment.