We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dacb40 commit d3931c2Copy full SHA for d3931c2
auth/src/main/java/com/firebase/ui/auth/KickoffActivity.java
@@ -93,8 +93,8 @@ private void start() {
93
* @return true if there is no network connection, false otherwise.
94
*/
95
private boolean isOffline() {
96
- ConnectivityManager manager =
97
- (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
+ ConnectivityManager manager = (ConnectivityManager) getApplicationContext()
+ .getSystemService(Context.CONNECTIVITY_SERVICE);
98
99
return !(manager != null
100
&& manager.getActiveNetworkInfo() != null
0 commit comments