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

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

Change-Id: I21ecac025395c23702ee59e93a72b50326798d8d
This commit is contained in:
Treehugger Robot
2021-03-31 14:46:12 +00:00
committed by Automerger Merge Worker

View File

@@ -115,15 +115,20 @@ public class Build {
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
* to configure system software features.
* The SKU of the hardware (from the kernel command line).
*
* <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
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
* runtime-initialized property set during startup to configure device services.
* The SKU of the device as set by the original design manufacturer (ODM).
*
* <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
* produces variants of the same design. For example, the same build may be released with