Skip to content

Commit 953fd1d

Browse files
committed
Release 0.3.2, When selecting custom interface dont check if 3g discovery is allowed
1 parent 197393b commit 953fd1d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<manifest
77
xmlns:android="http://schemas.android.com/apk/res/android"
88
package="info.lamatricexiste.network"
9-
android:versionCode="38"
10-
android:versionName="0.3.1"
9+
android:versionCode="40"
10+
android:versionName="0.3.2"
1111
android:installLocation="preferExternal">
1212

1313
<application

src/info/lamatricexiste/network/ActivityNet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ public void onReceive(Context ctxt, Intent intent) {
126126
setButtons(false);
127127
}
128128
} else if (type == ConnectivityManager.TYPE_MOBILE) { // 3G
129-
if (prefs.getBoolean(Prefs.KEY_MOBILE, Prefs.DEFAULT_MOBILE)) {
129+
if (prefs.getBoolean(Prefs.KEY_MOBILE, Prefs.DEFAULT_MOBILE)
130+
|| prefs.getString(Prefs.KEY_INTF, Prefs.DEFAULT_INTF) != null) {
130131
net.getMobileInfo();
131132
if (net.carrier != null) {
132133
net.getIp();

src/info/lamatricexiste/network/Network/DownloadFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class DownloadFile {
3131
private static String TAG = "DownloadFile";
3232
// FIXME: Get the real application version without context ?
3333
private final String USERAGENT = "Android/" + android.os.Build.VERSION.RELEASE + " ("
34-
+ android.os.Build.MODEL + ") NetworkDiscovery/0.3.1";
34+
+ android.os.Build.MODEL + ") NetworkDiscovery/0.3.2";
3535
private HttpClient httpclient;
3636

3737
public DownloadFile(String url, FileOutputStream out) throws IOException {

0 commit comments

Comments
 (0)