Skip to content

Commit

Permalink
Merge branch 'hotfix/4.1.1' into release/4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
maxme committed Jun 18, 2015
2 parents fc2bc73 + 661dc4f commit 734f781
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ public static boolean isAirplaneModeOn(Context context) {
* and returns false
*/
public static boolean checkConnection(Context context) {
if (context == null) {
return false;
}
if (isNetworkAvailable(context)) {
return true;
}
Expand Down

0 comments on commit 734f781

Please sign in to comment.