Internet Connection state is blocked for my long running background service in Xiomi phones. I am using BroadcastNetworkReciver for check internet connection.
Asked
Active
Viewed 416 times
0

komal akhani
- 553
- 6
- 20

Sandeep Singh
- 1
- 1
-
Check this https://stackoverflow.com/questions/1560788/how-to-check-internet-access-on-android-inetaddress-never-times-out – Ninja Aug 05 '17 at 10:16
1 Answers
1
- Open the Security app on your device
- Click on DATA
- Click on Restrict Data Usage
- Now it will show you the app list.
- Just scroll to that app on which you are wishing to block internet.
- Click on Green Check Mark (it will get Red that means blocked)
For more information go with below link:

komal akhani
- 553
- 6
- 20