Samsung pie vendors arent happy with my edits. Disable them until it is fixed
This commit is contained in:
parent
3f4e811d2e
commit
f00f7f4402
@ -248,7 +248,7 @@ if grep -qF 'PowerVR Rogue GE8100' /vendor/lib/egl/GLESv1_CM_mtk.so ||
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#If we have both Samsung and AOSP power hal, take Samsung's
|
#If we have both Samsung and AOSP power hal, take Samsung's
|
||||||
if [ -f /vendor/bin/hw/vendor.samsung.hardware.miscpower@1.0-service ]; then
|
if [ -f /vendor/bin/hw/vendor.samsung.hardware.miscpower@1.0-service ] && [ "$vndk" -lt 28 ]; then
|
||||||
mount -o bind /system/phh/empty /vendor/bin/hw/android.hardware.power@1.0-service
|
mount -o bind /system/phh/empty /vendor/bin/hw/android.hardware.power@1.0-service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -280,7 +280,7 @@ if getprop ro.vendor.build.fingerprint | grep -iq -E -e 'huawei|honor' || getpro
|
|||||||
mount -o bind /system/phh/libnfc-nci-huawei.conf /system/etc/libnfc-nci.conf
|
mount -o bind /system/phh/libnfc-nci-huawei.conf /system/etc/libnfc-nci.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if getprop ro.vendor.build.fingerprint | grep -qE -e ".*(crown|star)[q2]*lte.*" -e ".*(SC-0[23]K|SCV3[89]).*"; then
|
if getprop ro.vendor.build.fingerprint | grep -qE -e ".*(crown|star)[q2]*lte.*" -e ".*(SC-0[23]K|SCV3[89]).*" && [ "$vndk" -lt 28 ]; then
|
||||||
for f in /vendor/lib/libfloatingfeature.so /vendor/lib64/libfloatingfeature.so; do
|
for f in /vendor/lib/libfloatingfeature.so /vendor/lib64/libfloatingfeature.so; do
|
||||||
[ ! -f "$f" ] && continue
|
[ ! -f "$f" ] && continue
|
||||||
# shellcheck disable=SC2010
|
# shellcheck disable=SC2010
|
||||||
|
Loading…
Reference in New Issue
Block a user