Merge pull request #45 from Dil3mm4/android-9.0

This commit is contained in:
Pierre-Hugues HUSSON 2018-09-27 17:05:37 +02:00 committed by GitHub
commit 87b0d3de22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View File

@ -28,8 +28,8 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
#Huawei HiSuite (also other OEM custom programs I guess) it's of no use in AOSP builds #Huawei HiSuite (also other OEM custom programs I guess) it's of no use in AOSP builds
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.sys.usb.config=adb persist.sys.usb.config=adb \
ro.cust.cdrom=/dev/null
#VNDK config files #VNDK config files
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \

View File

@ -13,6 +13,8 @@ mount -o bind /system/bin/adbd /sbin/adbd
if ( getprop ro.hardware | grep -qE '(kirin970|hi3660|hi6250|hi3670)' );then if ( getprop ro.hardware | grep -qE '(kirin970|hi3660|hi6250|hi3670)' );then
FOUND_HUAWEI=1 FOUND_HUAWEI=1
setprop persist.sys.bt_acl_bypass true setprop persist.sys.bt_acl_bypass true
setprop persist.sys.camera.huawei true
setprop persist.sys.radio.huawei true
fi fi
if getprop ro.vendor.build.fingerprint |grep -qiE '(huawei|honor|hi3660)' || [ -n "$FOUND_HUAWEI" ];then if getprop ro.vendor.build.fingerprint |grep -qiE '(huawei|honor|hi3660)' || [ -n "$FOUND_HUAWEI" ];then
@ -29,10 +31,3 @@ if getprop ro.hardware |grep -qiE -e qcom -e judyln;then
setprop persist.sys.overlay.devinputjack true setprop persist.sys.overlay.devinputjack true
fi fi
if ( getprop ro.hardware | grep -qE '(hi6250)' );then
setprop QC.HI6250 1
fi
if ( getprop ro.hardware | grep -qE '(hi3660|hi3670|kirin970)' );then
setprop QC.HI36x0 1
fi