Merge "Address API feedback on SKU/ODM_SKU" am: 599f545969

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

Change-Id: I77905b5632210a740895fef19090bd31e7a8c7c7
This commit is contained in:
Treehugger Robot
2021-03-31 14:09:58 +00:00
committed by Automerger Merge Worker

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