Merge "Clarify docs for status codes in VcnStatusCallback." am: 36a84ebbaf

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1660643

Change-Id: I60bb16e7d0bc07448537ef58562441d90b4ea6e5
This commit is contained in:
Cody Kesting
2021-04-02 02:14:55 +00:00
committed by Automerger Merge Worker

View File

@@ -437,7 +437,7 @@ public class VcnManager {
* Invoked when status of the VCN for this callback's subscription group changes. * Invoked when status of the VCN for this callback's subscription group changes.
* *
* @param statusCode the code for the status change encountered by this {@link * @param statusCode the code for the status change encountered by this {@link
* VcnStatusCallback}'s subscription group. * VcnStatusCallback}'s subscription group. This value will be one of VCN_STATUS_CODE_*.
*/ */
public abstract void onStatusChanged(@VcnStatusCode int statusCode); public abstract void onStatusChanged(@VcnStatusCode int statusCode);
@@ -449,7 +449,8 @@ public class VcnManager {
* encountering an error. This will match the name for exactly one {@link * encountering an error. This will match the name for exactly one {@link
* VcnGatewayConnectionConfig} for the {@link VcnConfig} configured for this callback's * VcnGatewayConnectionConfig} for the {@link VcnConfig} configured for this callback's
* subscription group * subscription group
* @param errorCode the code to indicate the error that occurred * @param errorCode the code to indicate the error that occurred. This value will be one of
* VCN_ERROR_CODE_*.
* @param detail Throwable to provide additional information about the error, or {@code * @param detail Throwable to provide additional information about the error, or {@code
* null} if none * null} if none
*/ */