Changed code is as below,
I added some comments on it, so you guys can do this when my Anafi is broken/stolen/lost.
and here are instructions for modifying codes,
1. Go developer.parrot.com
2. Find Android SDK.
3. Follow the instructions on the page.(Install Ubuntu on virtual box, Android-studio, NDK, and etc. Setup git and repo. Build the repository. Load project on android-studio.)
4. Find AnafiWifiAccessPoint.java
5. Find sendDetectedCountry() method.
6. Change the method as above.
7. Build APK
8. Use apk tool to decompile the apk just made. java -jar apktool.jar d apkname.apk -o destinationdirectory
9. Find and open AnafiWifiAccessPoint.smali
10. Copy from .method private sendDetectedCountry()V to .method(you will understand what this means when you open the smali file)
11. Use apktool to decompile the original apk.(of course, the dest directory should be different.)
12. Find and open AnafiWifiAccessPoint.smali
13. Delete the whole sendDetectedCountry() method block, and paste it.
14. Save the file
15. Change directory to where original file is decompiled.
16. Use apktool to build the apk again. java -jar ..\apktool.jar b -o ..\YOURFINALAPKNAME.apk
17. Use keytool to make a keystore.(if you already have one, you won't need this step)
18. Use jarsigner to sign the app. jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore YOURKEYSTORE YOURFINALAPKNAME.apk YOURALIASNAME