Use @ErrorCode for UpdateEngineCallback

Test: TH

Change-Id: I26297984e40b66ff08e0c291bc1aa0e556fe6bcc
This commit is contained in:
Yifan Hong
2020-01-03 11:13:58 -08:00
parent 8e48e6d986
commit f585f651ad

View File

@@ -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);
}