summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorAlex Avance <aravance@gmail.com>2012-06-03 20:37:05 -0700
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2012-11-19 23:15:11 +0000
commitdc55ecdab2dba77581c24cf8c6f2652817d99b4f (patch)
tree1ab5e24b9437861044c9150ace45ab1ab1b8c8c8 /core/java
parent3f4e833ef6f1e8000eb2d4e319d295cb2e77b694 (diff)
downloadframeworks_base-dc55ecdab2dba77581c24cf8c6f2652817d99b4f.zip
frameworks_base-dc55ecdab2dba77581c24cf8c6f2652817d99b4f.tar.gz
frameworks_base-dc55ecdab2dba77581c24cf8c6f2652817d99b4f.tar.bz2
Add an option to change the device hostname (1/2).
This adds an option to modify the device hostname used in ip resolution. This is useful when connecting to the android device in a dynamic dhcp environment. Change-Id: I44e4771f4415a32fe66867d4dd90f1ad138341e1
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/provider/Settings.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 1d372c9..2a3f916 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -3082,6 +3082,12 @@ public final class Settings {
public static final String ADB_ENABLED = Global.ADB_ENABLED;
/**
+ * The hostname for this device
+ * @hide
+ */
+ public static final String DEVICE_HOSTNAME = "device_hostname";
+
+ /**
* Setting to allow mock locations and location provider status to be injected into the
* LocationManager service for testing purposes during application development. These
* locations and status values override actual location and status information generated