Skip to content

Commit

Permalink
Release 0.3.2, When selecting custom interface dont check if 3g disco…
Browse files Browse the repository at this point in the history
…very is allowed
  • Loading branch information
rorist committed Jul 27, 2010
1 parent 197393b commit 953fd1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="info.lamatricexiste.network"
android:versionCode="38"
android:versionName="0.3.1"
android:versionCode="40"
android:versionName="0.3.2"
android:installLocation="preferExternal">

<application
Expand Down
3 changes: 2 additions & 1 deletion src/info/lamatricexiste/network/ActivityNet.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ public void onReceive(Context ctxt, Intent intent) {
setButtons(false);
}
} else if (type == ConnectivityManager.TYPE_MOBILE) { // 3G
if (prefs.getBoolean(Prefs.KEY_MOBILE, Prefs.DEFAULT_MOBILE)) {
if (prefs.getBoolean(Prefs.KEY_MOBILE, Prefs.DEFAULT_MOBILE)
|| prefs.getString(Prefs.KEY_INTF, Prefs.DEFAULT_INTF) != null) {
net.getMobileInfo();
if (net.carrier != null) {
net.getIp();
Expand Down
2 changes: 1 addition & 1 deletion src/info/lamatricexiste/network/Network/DownloadFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class DownloadFile {
private static String TAG = "DownloadFile";
// FIXME: Get the real application version without context ?
private final String USERAGENT = "Android/" + android.os.Build.VERSION.RELEASE + " ("
+ android.os.Build.MODEL + ") NetworkDiscovery/0.3.1";
+ android.os.Build.MODEL + ") NetworkDiscovery/0.3.2";
private HttpClient httpclient;

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

0 comments on commit 953fd1d

Please sign in to comment.