Use device SKU for Build.SKU instead of product/odm SKU

Change-Id: I9c8bebf04cf0fa1a9cfd5211ea53c38bfb0affa7
Test: atest android.os.cts.BuildTest
Bug: 155840001
Bug: 151157621
This commit is contained in:
Robin Lee
2020-05-28 07:39:49 +00:00
parent 1e1a2e4e70
commit 7b772fdcd1

View File

@@ -109,7 +109,7 @@ public class Build {
* The hardware variant (SKU), if available.
*/
@NonNull
public static final String SKU = getString("ro.boot.product.hardware.sku");
public static final String SKU = getString("ro.boot.hardware.sku");
/**
* Whether this build was for an emulator device.