Use build fingerprint check for Mi 8

Old way doesnt work with Pie vendors.
Move to universal way of determining Mi 8
See this: https://github.com/phhusson/vendor_hardware_overlay/issues/25

Test: make -j64 treble-overlay-xiaomi-mi8; copy to /system/overlay/; ensure overlay works

Signed-off-by: argraur <argraur@gmail.com>
This commit is contained in:
argraur 2018-09-16 15:37:01 +00:00 committed by Pierre-Hugues HUSSON
parent 51277faea9
commit 4ba5a5696d

View file

@ -3,8 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.product.device"
android:requiredSystemPropertyValue="dipper"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+Xiaomi/dipper*"
android:priority="12"
android:isStatic="true" />
</manifest>