Samsung pie vendors arent happy with my edits. Disable them until it is fixed

This commit is contained in:
Pierre-Hugues Husson 2019-03-31 18:57:41 +02:00
parent 3f4e811d2e
commit f00f7f4402

View File

@ -248,7 +248,7 @@ if grep -qF 'PowerVR Rogue GE8100' /vendor/lib/egl/GLESv1_CM_mtk.so ||
fi
#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
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
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
[ ! -f "$f" ] && continue
# shellcheck disable=SC2010