Adding @hide to UpdateEngineStable
Adding hide annotation to ue stable APIs and updating interface version.
Freezing interface with version 2.
Test: m libupdate_engine_stable-V2-java
Bug: 317914533
Change-Id: Ice7d095b9a6903754ab76e1e097d941773119508
diff --git a/stable/android/os/IUpdateEngineStable.aidl b/stable/android/os/IUpdateEngineStable.aidl
index 5aa15ba..a38ba89 100644
--- a/stable/android/os/IUpdateEngineStable.aidl
+++ b/stable/android/os/IUpdateEngineStable.aidl
@@ -25,6 +25,7 @@
* WARNING: this interface exposes less capabilities than IUpdateEngine,
* for instance, not having a cancel method. This is relied on for
* security.
+ * @hide
*/
interface IUpdateEngineStable {
/**
@@ -39,6 +40,7 @@
* detected.
* @param headerKeyValuePairs additional header key value pairs, in the format of "key=value".
* @see android.os.UpdateEngine#applyPayload(android.content.res.AssetFileDescriptor, String[])
+ * @hide
*/
void applyPayloadFd(in ParcelFileDescriptor pfd,
in long payload_offset,
@@ -59,6 +61,7 @@
* @param callback See {@link IUpdateEngineStableCallback}
* @return true if binding is successful, false otherwise.
* @see android.os.UpdateEngine#bind(android.os.UpdateEngineCallback)
+ * @hide
*/
boolean bind(IUpdateEngineStableCallback callback);
@@ -74,6 +77,7 @@
* @param callback The callback to be unbound. See {@link IUpdateEngineStableCallback}.
* @return true if unbinding is successful, false otherwise.
* @see android.os.UpdateEngine#unbind(android.os.UpdateEngineCallback)
+ * @hide
*/
boolean unbind(IUpdateEngineStableCallback callback);
}