This commit is contained in:
Talmid of Levi 2023-11-29 11:25:19 -05:00
parent 38f3cc76e4
commit 87967614ed

View File

@ -1,11 +1,9 @@
#!/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
if getprop ro.vendor.gsi.image_running | grep -iq -F false; then if ! getprop ro.vendor.gsi.image_running | grep -iq -F false; then
touch /mnt/banana
else
setprop ro.vendor.gsi.image_running false setprop ro.vendor.gsi.image_running false
setprop ctl.restart vendor.hwcomposer-2-1 setprop ctl.restart vendor.hwcomposer-2-1
touch /mnt/apples touch /mnt/banana
fi fi
fi fi