When you are trying to modify the code or rules, especially the network settings, you need to be careful. As far as the effect on the app functioning due to the change in the code is very negligible, if you are doing exactly as mentioned above you will not face any problem. But if you are modifying the code, there could be a problem only in the network settings. You might be vulnerable to abrupt shutdowns of the device, so be thorough when you are replacing the code in the android files.