如何解决如何在 AOSP 中启用“热点和网络共享”设置应用程序的构建?
我的 Android 10 设备有一个 AOSP 版本。
“网络和互联网”用户界面缺少“热点和网络共享”设置应用。 (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>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。