klte-common: Fix file contexts related to our telephony symlink mess
Change-Id: I1344b960de72a2b70da9cf6ce1bf947e8b39a71d
This commit is contained in:
parent
9e2cb1b51d
commit
2575fdfcf7
2 changed files with 9 additions and 0 deletions
|
@ -1082,6 +1082,11 @@ on property:sys.boot_completed=1
|
|||
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
|
||||
|
||||
# Fix file contexts for the directories; needed for upgrade from earlier
|
||||
# 7.x versions, NOOP for clean flashes
|
||||
restorecon /data/data/com.android.providers.telephony/databases
|
||||
restorecon /data/data/com.android.providers.telephony/shared_prefs
|
||||
|
||||
service charger /charger
|
||||
class charger
|
||||
seclabel u:r:healthd:s0
|
||||
|
|
|
@ -31,6 +31,10 @@
|
|||
/dev/bcm2079x u:object_r:nfc_device:s0
|
||||
/dev/pn547 u:object_r:nfc_device:s0
|
||||
|
||||
# RIL
|
||||
/data/data/com.android.providers.telephony/databases(/.*)? u:object_r:radio_data_file:s0
|
||||
/data/data/com.android.providers.telephony/shared_prefs(/.*)? u:object_r:radio_data_file:s0
|
||||
|
||||
# SEC
|
||||
/sys/devices/virtual/sec/sec_key/hall_irq_ctrl u:object_r:sysfs_sec:s0
|
||||
/sys/devices/virtual/sec/tsp(/.*)? u:object_r:sysfs_sec:s0
|
||||
|
|
Loading…
Reference in a new issue