diff options
| author | 2024-12-05 20:16:19 +0000 | |
|---|---|---|
| committer | 2024-12-05 20:16:19 +0000 | |
| commit | 636b7ab6435c298d2fb789207e99ce98bd7a93ef (patch) | |
| tree | 3b0266bc75cae9b91d0bfe9f10b35590984606b6 | |
| parent | 12f73839cbfa90da0dfdab78bf15e49ea3fb87db (diff) | |
| parent | b7757f1c1e4675be7e6ae0a310a58baa097d30b1 (diff) | |
Merge "Add more details for the builder of DeviceId" into main
| -rw-r--r-- | core/java/android/companion/DeviceId.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/companion/DeviceId.java b/core/java/android/companion/DeviceId.java index f66a1ae5c175..d9514a02c2b4 100644 --- a/core/java/android/companion/DeviceId.java +++ b/core/java/android/companion/DeviceId.java @@ -154,6 +154,10 @@ public final class DeviceId implements Parcelable { /** * A builder for {@link DeviceId} + * + * <p>Calling apps must provide at least one of the following to identify + * the device: a custom ID using {@link #setCustomId(String)}, or a MAC address using + * {@link #setMacAddress(MacAddress)}.</p> */ public static final class Builder extends OneTimeUseBuilder<DeviceId> { private String mCustomId; |