commit | b5724c1618b05bba1a4af006bbd7dc877c43e115 | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Tue Jul 27 03:16:50 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue May 30 16:23:28 2023 -0700 |
tree | 9658df3a9f5004a119523c96895aadac2486ff91 | |
parent | e3a740cfe05f0430026c43248985df61c1a22b8f [diff] |
Add an API in update_engine to switch the slot back and forth am: da607a35bd am: c359236ab2 am: cc2fd47f4e am: 4ce1bcc700 Original change: https://android-review.googlesource.com/c/platform/system/update_engine/+/1697663 Change-Id: I8ff6f6c82c899bb96213761005f1c226850279db GitOrigin-RevId: b0bf0e3753c7a261670b0066dd6b403655d1e5f6
diff --git a/binder_bindings/android/os/IUpdateEngine.aidl b/binder_bindings/android/os/IUpdateEngine.aidl index c9580da..4043b1a 100644 --- a/binder_bindings/android/os/IUpdateEngine.aidl +++ b/binder_bindings/android/os/IUpdateEngine.aidl
@@ -44,6 +44,11 @@ /** @hide */ void resetStatus(); /** @hide */ + void setShouldSwitchSlotOnReboot(in String metadataFilename); + /** @hide */ + void resetShouldSwitchSlotOnReboot(); + + /** @hide */ boolean verifyPayloadApplicable(in String metadataFilename); /** * Allocate space on userdata partition.