Merge pull request #66 from milankragujevic/android-8.1

Fix RIL on MTK for more devices and Bootanimation on Oreo GSI
This commit is contained in:
Pierre-Hugues HUSSON 2019-01-07 23:30:34 +01:00 committed by GitHub
commit e7ca75151b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,7 @@ if getprop ro.vendor.build.fingerprint |grep -q -e Xiaomi/clover/clover -e iaomi
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness) setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
fi fi
for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so;do for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so /vendor/lib/libmtk-ril.so /vendor/lib64/libmtk-ril.so;do
[ ! -f $f ] && continue [ ! -f $f ] && continue
ctxt="$(ls -lZ $f |grep -oE 'u:object_r:[^:]*:s0')" ctxt="$(ls -lZ $f |grep -oE 'u:object_r:[^:]*:s0')"
b="$(echo "$f"|tr / _)" b="$(echo "$f"|tr / _)"

1
sepolicy/bootanim.te Normal file
View File

@ -0,0 +1 @@
allow bootanim gpu_device:dir r_dir_perms;