Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 5c76c3ea authored by Brint E. Kriebel's avatar Brint E. Kriebel Committed by Michael Bestas
Browse files

applypatch: Update recovery only when enabled in Updater settings

Change-Id: I8a85db8addeb75a2fd60d809c5ed4edc619ef7ed
parent a2c0d15d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2,3 +2,8 @@ service vendor_flash_recovery /vendor/bin/install-recovery.sh
    class main
    oneshot
    user root
    disabled

# update recovery if enabled
on property:persist.vendor.recovery_update=true
    start vendor_flash_recovery