klte-common: Manually restorecon legacy telephony provider symlinks

* These need a manual restorecon after create else they do not pick
  up the radio_data_file label.
* avc: denied { read } for name="databases" dev="mmcblk0p26" ino=33320
  scontext=u:r:rild:s0 tcontext=u:object_r:system_data_file:s0
  tclass=lnk_file permissive=0

Change-Id: I3286f47521467f6a1d65befec8a5c6dd7ff00183
This commit is contained in:
Kevin F. Haggerty 2018-11-29 21:01:39 -07:00
parent e896b7a7db
commit 1d071d7d7b
No known key found for this signature in database
GPG Key ID: 6D95512933112729
1 changed files with 2 additions and 0 deletions

View File

@ -1003,6 +1003,8 @@ on property:sys.boot_completed=1
# 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
restorecon /data/data/com.android.providers.telephony/databases
restorecon /data/data/com.android.providers.telephony/shared_prefs
service charger /charger
class charger