我的Android 10设备有一个AOSP版本。
“Network&internet”UI缺少“Hotspot&tethering”设置应用程序。(Wifi工作正常,但仅作为上行接口。)
AOSP中的哪个文件控制“Hotspot&tethering”设置应用程序是否包含在构建中?
发布于 2021-05-19 22:28:52
答案是将下面的<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>https://stackoverflow.com/questions/67568783
复制相似问题