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

Commit f585f651 authored by Yifan Hong's avatar Yifan Hong
Browse files

Use @ErrorCode for UpdateEngineCallback

Test: TH

Change-Id: I26297984e40b66ff08e0c291bc1aa0e556fe6bcc
parent 8e48e6d9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -44,5 +44,6 @@ public abstract class UpdateEngineCallback {
     * unsuccessfully. The value of {@code errorCode} will be one of the
     * values from {@link UpdateEngine.ErrorCodeConstants}.
     */
    public abstract void onPayloadApplicationComplete(int errorCode);
    public abstract void onPayloadApplicationComplete(
            @UpdateEngine.ErrorCode int errorCode);
}