Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    请问Android10的WiFi网卡默认可以【使用设备MAC】吗?

    其它全志芯片讨论区
    2
    3
    2052
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      memory LV 7 last edited by

      70041e9e-845f-42f5-94bb-c6107a8be329-image.png

      请问Android10的WiFi网卡默认可以【使用设备MAC】吗?

      1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 last edited by

        SDK里面用这个命令搜索:

        grep config_wifi_connected_mac_randomization_supported -r . --include "config.xml"
        

        把 true 都改成 false 就好了。

        1 Reply Last reply Reply Quote Share 0
        • whycan
          whycan晕哥 LV 9 last edited by

          一般只要修改板级目录下面的 config.xml 就可以了:

          device/softwinner/xxxx-yyyyy/overlay/frameworks/base/core/res/res/values/config.xml

              <!-- Indicates that connected MAC randomization is supported on this device -->
              <bool translatable="false" name="config_wifi_connected_mac_randomization_supported">false</bool>
          
          
          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策