klte-common: symlink telephony databases to old location
* Our closed source libsec-ril.so hardcodes paths to the old /data/data/com.android.providers.telephony, N moved this somewhere else. Change-Id: I9dbb229ee4aca83f36e5d73532dd32cda324486e
This commit is contained in:
parent
915c07d37c
commit
bc1b148735
1 changed files with 11 additions and 0 deletions
|
@ -259,6 +259,11 @@ on early-boot
|
|||
# Allow subsystem (modem etc) debugging
|
||||
write /sys/module/subsystem_restart/parameters/enable_debug ${persist.sys.ssr.enable_debug}
|
||||
|
||||
# Remove symlinks to avoid issues with migrate after nandroid restores
|
||||
# Will be recreated at end of boot
|
||||
rm /data/data/com.android.providers.telephony/databases/telephony.db
|
||||
rm /data/data/com.android.providers.telephony/shared_prefs/preferred-apn.xml
|
||||
|
||||
on boot
|
||||
chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
|
||||
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
|
||||
|
@ -1064,6 +1069,12 @@ on property:sys.boot_completed=1
|
|||
rm /data/system/perfd/default_values
|
||||
start mpdecision
|
||||
|
||||
# Symlink telephony.db and preferred-apn.xml
|
||||
mkdir /data/data/com.android.providers.telephony/databases 0700 radio radio
|
||||
mkdir /data/data/com.android.providers.telephony/shared_prefs 0700 radio radio
|
||||
symlink /data/user_de/0/com.android.providers.telephony/databases/telephony.db /data/data/com.android.providers.telephony/databases/telephony.db
|
||||
symlink /data/user_de/0/com.android.providers.telephony/shared_prefs/preferred-apn.xml /data/data/com.android.providers.telephony/shared_prefs/preferred-apn.xml
|
||||
|
||||
service charger /charger
|
||||
class charger
|
||||
seclabel u:r:healthd:s0
|
||||
|
|
Loading…
Reference in a new issue