From edfaaeaed7e7329620b8e9d62a62aa41f09ad787 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 13 Oct 2010 21:11:07 -0700 Subject: [PATCH] Fix 3024528: Initial implementation of owner info to enable dogfooding This is a quick UI implementation to allow owner info to be changed on LockScreen for dogfooding. Change-Id: I0dc781def594d1c921c44348c130f509798a71f4 --- res/layout/ownerinfo.xml | 56 ++++++++++++++++++++++++ res/values/strings.xml | 7 ++- res/xml/settings_headers.xml | 10 ++++- src/com/android/settings/OwnerInfo.java | 77 +++++++++++++++++++++++++++++++++ 4 files changed, 147 insertions(+), 3 deletions(-) create mode 100644 res/layout/ownerinfo.xml create mode 100644 src/com/android/settings/OwnerInfo.java diff --git a/res/layout/ownerinfo.xml b/res/layout/ownerinfo.xml new file mode 100644 index 0000000000..16e7a8580d --- /dev/null +++ b/res/layout/ownerinfo.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + diff --git a/res/values/strings.xml b/res/values/strings.xml index 86bbb5b65c..32aeec258e 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -559,7 +559,10 @@ Lock device after timeout Adjust the delay before the device automatically locks - + + Show owner info on lock screen + + Owner info Location & security @@ -2034,7 +2037,7 @@ found in the list of installed applications. Are you sure you want to stop this system service? If you do, some features of your phone may stop working correctly until you power it off and then on again. - + Language & keyboard diff --git a/res/xml/settings_headers.xml b/res/xml/settings_headers.xml index 43338bb8d7..0292f5ffbd 100644 --- a/res/xml/settings_headers.xml +++ b/res/xml/settings_headers.xml @@ -109,7 +109,7 @@ -
@@ -156,6 +156,14 @@ android:title="@string/date_and_time_settings_title">
+ + +
+
+