set property in init script
This commit is contained in:
parent
3b60b65306
commit
e76ca1de41
@ -10,8 +10,7 @@ SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/phh/cats22flip/sepolicy
|
|||||||
|
|
||||||
PRODUCT_SYSTEM_PROPERTIES += \
|
PRODUCT_SYSTEM_PROPERTIES += \
|
||||||
ro.system.ota.json_url=https://ota.mezimmah.net/ota.json \
|
ro.system.ota.json_url=https://ota.mezimmah.net/ota.json \
|
||||||
persist.sys.phh.mainkeys=0 \
|
persist.sys.phh.mainkeys=0
|
||||||
ro.vendor.gsi.image_running=false
|
|
||||||
|
|
||||||
PRODUCT_PACKAGE_OVERLAYS += device/phh/cats22flip/overlay
|
PRODUCT_PACKAGE_OVERLAYS += device/phh/cats22flip/overlay
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
|
|
||||||
if getprop ro.vendor.build.fingerprint | grep -iq -e S22FLIP; then
|
if getprop ro.vendor.build.fingerprint | grep -iq -e S22FLIP; then
|
||||||
|
setprop ro.vendor.gsi.image_running false
|
||||||
|
setprop ctl.start vendor.hwcomposer-2-1
|
||||||
touch /mnt/banana
|
touch /mnt/banana
|
||||||
fi
|
fi
|
Loading…
x
Reference in New Issue
Block a user