Revert "Workaround for devices with 3G/LTE returning false when calling hasSy…"

This commit is contained in:
Marco Scavuzzo 2015-12-19 17:25:40 +01:00
parent 312f5b5417
commit 9943cc10e9
1 changed files with 1 additions and 2 deletions

View File

@ -84,8 +84,7 @@ public class Util {
public static boolean hasTelephony(Context context) {
PackageManager pm = context.getPackageManager();
return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) ||
context.getSystemService(Context.TELEPHONY_SERVICE)!=null;
return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY);
}
public static boolean hasWifi(Context context) {