How to enable the building of the "Hotspot & tethering" settings app in AOSP?

865 Views Asked by At

I have an AOSP build for my Android 10 device.

The 'Network & internet' UI is missing the 'Hotspot & tethering' settings app. (Wifi is working, but only as an upstream interface.)

Which file in AOSP controls whether the 'Hotspot & tethering' settings app is included in the build?

1

There are 1 best solutions below

0
fadedbee On BEST ANSWER

The answer was to add the <item> line, below, to ./frameworks/base/core/res/res/values/config.xml.

<!-- 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>"softap.*"</item>
</string-array>