summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2011-10-06 12:42:48 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-10-06 12:42:48 -0700
commit3013134d1612eb1eb13ec17a41c1006e99809d30 (patch)
tree1a3cd6e4ff6f962391e050e77a32f808e1bc180e /core/res
parent49542130299a84ffbcd2fe1042f280e3d2be78c6 (diff)
parent72b54db0d7460ff591911b2fbdaba4f7529e1404 (diff)
downloadframeworks_base-3013134d1612eb1eb13ec17a41c1006e99809d30.zip
frameworks_base-3013134d1612eb1eb13ec17a41c1006e99809d30.tar.gz
frameworks_base-3013134d1612eb1eb13ec17a41c1006e99809d30.tar.bz2
Merge "Mobile hotspot provision string"
Diffstat (limited to 'core/res')
-rwxr-xr-xcore/res/res/values/config.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index ae39760..bde2c72 100755
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -182,6 +182,28 @@
<!-- Regex of wired ethernet ifaces -->
<string translatable="false" name="config_ethernet_iface_regex">eth\\d</string>
+ <!-- If the mobile hotspot feature requires provisioning, an intent string can be provided
+ to the launch a supported application that provisions the devices.
+
+ Example Usage:
+
+ Intent intent = new Intent(R.string.config_mobile_hotspot_provision_intent);
+ startActivityForResult(intent, 0);
+
+ public void onActivityResult(int requestCode, int resultCode, Intent intent) {
+ super.onActivityResult(requestCode, resultCode, intent);
+ if (requestCode == 0) {
+ if (resultCode == Activity.RESULT_OK) {
+ //Mobile hotspot provisioning successful
+ } else {
+ //Mobile hotspot provisioning failed
+ }
+ }
+
+ See src/com/android/settings/TetherSettings.java for more details.
+ -->
+ <string translatable="false" name="config_mobile_hotspot_provision_intent"></string>
+
<!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
<!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
<!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->