Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c042e448 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "API to get hardware variant (SKU)"

parents abbe6d35 18556095
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -34538,6 +34538,7 @@ package android.os {
    field public static final String PRODUCT;
    field public static final String PRODUCT;
    field @Deprecated public static final String RADIO;
    field @Deprecated public static final String RADIO;
    field @Deprecated public static final String SERIAL;
    field @Deprecated public static final String SERIAL;
    field @NonNull public static final String SKU;
    field public static final String[] SUPPORTED_32_BIT_ABIS;
    field public static final String[] SUPPORTED_32_BIT_ABIS;
    field public static final String[] SUPPORTED_64_BIT_ABIS;
    field public static final String[] SUPPORTED_64_BIT_ABIS;
    field public static final String[] SUPPORTED_ABIS;
    field public static final String[] SUPPORTED_ABIS;
+6 −0
Original line number Original line Diff line number Diff line
@@ -105,6 +105,12 @@ public class Build {
    /** The name of the hardware (from the kernel command line or /proc). */
    /** The name of the hardware (from the kernel command line or /proc). */
    public static final String HARDWARE = getString("ro.hardware");
    public static final String HARDWARE = getString("ro.hardware");


    /**
     * The hardware variant (SKU), if available.
     */
    @NonNull
    public static final String SKU = getString("ro.boot.product.hardware.sku");

    /**
    /**
     * Whether this build was for an emulator device.
     * Whether this build was for an emulator device.
     * @hide
     * @hide