klte-common: Cleanup symlink code
* Remove compat symlink migration * Fix comment about symlinking Change-Id: Id92408bdcbdbe7f8331563750ba645445138ff80
This commit is contained in:
parent
f1fa05ecd0
commit
26ec92cc67
1 changed files with 1 additions and 10 deletions
|
@ -239,18 +239,9 @@ on post-fs-data
|
|||
|
||||
# Remove symlinks to avoid issues with migrate after nandroid restores
|
||||
# Will be recreated at end of boot
|
||||
# Normal path
|
||||
rm /data/data/com.android.providers.telephony/databases
|
||||
rm /data/data/com.android.providers.telephony/shared_prefs
|
||||
|
||||
# COMPAT: Handle upgrade from previous implementation of this idea. If the
|
||||
# above could not be unlinked then we have the old symlinked files
|
||||
# scenario. Clean that up.
|
||||
rm /data/data/com.android.providers.telephony/databases/telephony.db
|
||||
rm /data/data/com.android.providers.telephony/shared_prefs/preferred-apn.xml
|
||||
rmdir /data/data/com.android.providers.telephony/databases
|
||||
rmdir /data/data/com.android.providers.telephony/shared_prefs
|
||||
|
||||
setprop vold.post_fs_data_done 1
|
||||
|
||||
on early-boot
|
||||
|
@ -1002,7 +993,7 @@ on property:sys.boot_completed=1
|
|||
rm /data/system/perfd/default_values
|
||||
start mpdecision
|
||||
|
||||
# Symlink directories to access telephony.db and preferred-apn.xml required by cbd
|
||||
# Symlink directories to access telephony.db and preferred-apn.xml required by libsec-ril
|
||||
symlink /data/user_de/0/com.android.providers.telephony/databases /data/data/com.android.providers.telephony/databases
|
||||
symlink /data/user_de/0/com.android.providers.telephony/shared_prefs /data/data/com.android.providers.telephony/shared_prefs
|
||||
|
||||
|
|
Loading…
Reference in a new issue