-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Using `connectivityManager.getNetworkCapabilities` instead of `networkRequest.hasCapability` which was giving incorrect values before. 2. ConnectivityManager is now global private variable. 3. Logic of checking initial state of connectivity is modularized and moved to constructor.
- Loading branch information
“Akshay
committed
Nov 16, 2022
1 parent
d9526b6
commit 1fc4fc4
Showing
1 changed file
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters