Merge "Address API feedback on SKU/ODM_SKU"

This commit is contained in:
Treehugger Robot
2021-03-31 13:57:34 +00:00
committed by Gerrit Code Review

View File

@@ -115,15 +115,20 @@ public class Build {
public static final String HARDWARE = getString("ro.hardware"); public static final String HARDWARE = getString("ro.hardware");
/** /**
* The SKU of the hardware (from the kernel command line). The SKU is reported by the bootloader * The SKU of the hardware (from the kernel command line).
* to configure system software features. *
* <p>The SKU is reported by the bootloader to configure system software features.
* If no value is supplied by the bootloader, this is reported as {@link #UNKNOWN}.
*/ */
@NonNull @NonNull
public static final String SKU = getString("ro.boot.hardware.sku"); public static final String SKU = getString("ro.boot.hardware.sku");
/** /**
* The SKU of the device as set by the original design manufacturer (ODM). This is a * The SKU of the device as set by the original design manufacturer (ODM).
* runtime-initialized property set during startup to configure device services. *
* <p>This is a runtime-initialized property set during startup to configure device
* services. If no value is set, this is reported as {@link #UNKNOWN}.
* *
* <p>The ODM SKU may have multiple variants for the same system SKU in case a manufacturer * <p>The ODM SKU may have multiple variants for the same system SKU in case a manufacturer
* produces variants of the same design. For example, the same build may be released with * produces variants of the same design. For example, the same build may be released with