Merge "add an api for getting a device serial number" into gingerbread
This commit is contained in:
@@ -121330,6 +121330,16 @@
|
|||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
</field>
|
</field>
|
||||||
|
<field name="SERIAL"
|
||||||
|
type="java.lang.String"
|
||||||
|
transient="false"
|
||||||
|
volatile="false"
|
||||||
|
static="true"
|
||||||
|
final="true"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
</field>
|
||||||
<field name="TAGS"
|
<field name="TAGS"
|
||||||
type="java.lang.String"
|
type="java.lang.String"
|
||||||
transient="false"
|
transient="false"
|
||||||
|
|||||||
@@ -62,6 +62,9 @@ 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");
|
||||||
|
|
||||||
|
/** A hardware serial number, if available. Alphanumeric only, case-insensitive. */
|
||||||
|
public static final String SERIAL = getString("ro.serialno");
|
||||||
|
|
||||||
/** Various version strings. */
|
/** Various version strings. */
|
||||||
public static class VERSION {
|
public static class VERSION {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user