Wi-Fi hotspot name in Android 9 system

In the native Android 9 system, the WLAN hotspot name is set by default in the system and cannot be modified by the user. If it is modified in the system, it needs to be modified in the framework layer.

  • Find the relevant Java source files

frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java

Assign a value getDefaultApConfigurationto the config.SSIDvariable in the method , which is the name of the corresponding WLAN hotspot.

Guess you like

Origin blog.csdn.net/weixin_41388144/article/details/109370131