expose bootloader & radio versions, hardware string in API
Adds three new device-version-related strings to android.os.Build. Change-Id: I832f87f26e50a649249c58037f563426f3bfc4bf
This commit is contained in:
@@ -109717,6 +109717,16 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="BOOTLOADER"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="BRAND"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
@@ -109777,6 +109787,16 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="HARDWARE"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="HOST"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
@@ -109827,6 +109847,16 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="RADIO"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="TAGS"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
|
||||
@@ -53,14 +53,14 @@ public class Build {
|
||||
/** The end-user-visible name for the end product. */
|
||||
public static final String MODEL = getString("ro.product.model");
|
||||
|
||||
/** @pending The system bootloader version number. */
|
||||
/** The system bootloader version number. */
|
||||
public static final String BOOTLOADER = getString("ro.bootloader");
|
||||
|
||||
/** @pending The radio firmware version number. */
|
||||
/** The radio firmware version number. */
|
||||
public static final String RADIO = getString("gsm.version.baseband");
|
||||
|
||||
/** @pending The device serial number. */
|
||||
public static final String SERIAL = getString("ro.serialno");
|
||||
/** The name of the hardware (from the kernel command line or /proc). */
|
||||
public static final String HARDWARE = getString("ro.hardware");
|
||||
|
||||
/** Various version strings. */
|
||||
public static class VERSION {
|
||||
|
||||
Reference in New Issue
Block a user