Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9d8faf7 authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android Git Automerger
Browse files

am 953005e8: Merge "Specify component name for provisioning" into ics-mr0

* commit '953005e8':
  Specify component name for provisioning
parents 9427d688 953005e8
Loading
Loading
Loading
Loading
+13 −4
Original line number Diff line number Diff line
@@ -182,12 +182,14 @@
    <!-- 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.
    <!-- If the mobile hotspot feature requires provisioning, a package name and class name
        can be provided to launch a supported application that provisions the devices.

        Example Usage:

        Intent intent = new Intent(R.string.config_mobile_hotspot_provision_intent);
        String[] appDetails = getStringArray(R.array.config_mobile_hotspot_provision_app);
        Intent intent = new Intent(Intent.ACTION_MAIN);
        intent.setClassName(appDetails[0], appDetails[1]);
        startActivityForResult(intent, 0);

        public void onActivityResult(int requestCode, int resultCode, Intent intent) {
@@ -202,7 +204,14 @@

        See src/com/android/settings/TetherSettings.java for more details.
        -->
    <string translatable="false" name="config_mobile_hotspot_provision_intent"></string>
    <!-- The first element is the package name and the second element is the class name
         of the provisioning app -->
    <string-array translatable="false" name="config_mobile_hotspot_provision_app">
    <!--
        <item>com.example.provisioning</item>
        <item>com.example.provisioning.Activity</item>
    -->
    </string-array>

    <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
    <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or