Fix issue #1859814: Add android.os.Build.MANUFACTURER
This commit is contained in:
@ -85846,6 +85846,16 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="MANUFACTURER"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="MODEL"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
|
@ -38,6 +38,9 @@ public class Build {
|
||||
/** The name of the underlying board, like "goldfish". */
|
||||
public static final String BOARD = getString("ro.product.board");
|
||||
|
||||
/** The manufacturer of the product/hardware. */
|
||||
public static final String MANUFACTURER = getString("ro.product.manufacturer");
|
||||
|
||||
/** The brand (e.g., carrier) the software is customized for, if any. */
|
||||
public static final String BRAND = getString("ro.product.brand");
|
||||
|
||||
|
Reference in New Issue
Block a user