Android: Extend the API with the payload offset and size.
The payload offset and size of the CrAU binary file inside the .zip
file are required parameters to properly apply the payload so we
explicitly required them in the API.
The update_engine_client command was extended to support these two
parameters.
Bug: 25631767
TEST=`mmma system/update_engine` on aosp_arm-eng.
Change-Id: Id5ef2f45b711039309173cb0309b9fe5cc82e485
diff --git a/binder_bindings/android/os/IUpdateEngine.aidl b/binder_bindings/android/os/IUpdateEngine.aidl
index 1e8090e..4245254 100644
--- a/binder_bindings/android/os/IUpdateEngine.aidl
+++ b/binder_bindings/android/os/IUpdateEngine.aidl
@@ -20,6 +20,8 @@
interface IUpdateEngine {
void applyPayload(String url,
+ in long payload_offset,
+ in long payload_size,
in String[] headerKeyValuePairs);
boolean bind(IUpdateEngineCallback callback);
void suspend();