Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit b3e1f6fb authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Preparing a hotfix release

parent ecad7cce
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
<uses-sdk android:minSdkVersion="9"
android:targetSdkVersion="22" />
......@@ -8,9 +8,11 @@ import android.util.Log;
public class NetworkHelper {
public static boolean isOnMobileNetwork(Context context) {
final ConnectivityManager connMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
return false; //This looks a bit dangerous and I prefer not to use it in the next stable release.
/*final ConnectivityManager connMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo info = connMgr.getActiveNetworkInfo();
return (info != null && info.getType() == ConnectivityManager.TYPE_MOBILE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment