"Tethering and Portable Hotspot" missing from GUI in Android 6.0

59 views
Skip to first unread message

Pragya Gupta

unread,
Jan 26, 2016, 11:38:47 PM1/26/16
to android-porting
Hi ,

We are porting Android 6.0 on our development platform and there is no setting in GUI to enable Hotspot.

I checked on Nexus6 and that has the option ""Tethering and Portable Hotspot"  .

How can I enable it for my platform ?

Pragya

Pragya Gupta

unread,
Jan 27, 2016, 10:30:14 AM1/27/16
to android-porting
Found the solution. Issue can be closed

Pragya

Pragya Gupta

unread,
Jan 30, 2016, 10:54:26 AM1/30/16
to android-porting

Sharing the solution:

Added tetherable Wifi interface to  "frameworks/base/core/res/res/values/config.xml"  as shown below:

  <!-- List of regexpressions describing the interface (if any) that represent tetherable
         Wifi interfaces.  If the device doesn't want to support tethering over Wifi this
         should be empty.  An example would be "softap.*" -->
    <string-array translatable="false" name="config_tether_wifi_regexs">
        <item>wlan0</item>
    </string-array>

Since this is device specific configuration, I added it in overlay folder within device folder (device/xxx/overlay/frameworks/base/core/res/res/values/config.xml)

Pragya
Reply all
Reply to author
Forward
0 new messages