如何在AOSP中启用"Hotspot & tethering"设置应用程序的构建?



我的Android 10设备有一个AOSP版本。

The‘Network&internet的用户界面缺少"热点&"共享"设置应用程序。(Wifi正在工作,但仅作为上游接口。(

AOSP中的哪个文件控制"热点&版本中是否包含"共享"设置应用程序?

答案是将下面的<item>行添加到./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>

最新更新