Schedule a warm_reset after an OTA
The property is set to inform kernel to do a warm_reset on the next
reboot. This is useful to persist the logs to debug device boot
failures. More details in http://go/rvc-ota-persist-logs.
Bug: 143489994
Test: check the property sets after an update
Change-Id: I776a6996e3b3ef77514da0acc91585d28e5cdf15
diff --git a/hardware_android.h b/hardware_android.h
index 2a8f669..145a936 100644
--- a/hardware_android.h
+++ b/hardware_android.h
@@ -56,6 +56,7 @@
bool AllowDowngrade() const override;
bool GetFirstActiveOmahaPingSent() const override;
bool SetFirstActiveOmahaPingSent() override;
+ void SetWarmReset(bool warm_reset) override;
private:
DISALLOW_COPY_AND_ASSIGN(HardwareAndroid);