2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 06:05:12 +00:00

Prepare beta release

This commit is contained in:
Albert Vaca
2017-02-20 20:36:55 +01:00
parent b3e1f6fbf8
commit 337cdba68f
2 changed files with 3 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.kde.kdeconnect_tp"
android:versionCode="1610"
android:versionName="1.6.1">
android:versionCode="1619"
android:versionName="1.6.2 Beta">
<uses-sdk android:minSdkVersion="9"
android:targetSdkVersion="22" />

View File

@@ -8,11 +8,9 @@ import android.util.Log;
public class NetworkHelper {
public static boolean isOnMobileNetwork(Context context) {
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);
final ConnectivityManager connMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo info = connMgr.getActiveNetworkInfo();
return (info != null && info.getType() == ConnectivityManager.TYPE_MOBILE);
*/
}
}