Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Samsung Battery saving feature interferes with Adguard #378
Asked for logs: YNX-978-72059
The difference between Samsung and others is that in its case even when network is no more accessible (in the power save mode) ConnectivityManager still returns a positive result.
So, instead of using ConnectivityManager we should try to create a real connection and see if it is refused or not.