If ro.hw.oemName isn't set, set it from sku
cf https://github.com/phhusson/treble_experimentations/issues/533
This commit is contained in:
parent
05e6d4b94f
commit
9b40bccd82
@ -326,3 +326,7 @@ for f in /vendor/lib{,64}/hw/com.qti.chi.override.so;do
|
|||||||
|
|
||||||
setprop sys.phh.xx.manufacturer "$(getprop ro.product.vendor.manufacturer)"
|
setprop sys.phh.xx.manufacturer "$(getprop ro.product.vendor.manufacturer)"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ -n "$(getprop ro.boot.product.hardware.sku)" ] && [ -z "$(getprop ro.hw.oemName)" ];then
|
||||||
|
setprop ro.hw.oemName "$(getprop ro.boot.product.hardware.sku)"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user