Browse Source

Fix loading of the boot receiver.

pull/11/head
Eric Kok 11 years ago
parent
commit
ea39f4485b
  1. 2
      core/src/org/transdroid/core/service/ConnectivityHelper.java
  2. 2
      full/AndroidManifest.xml
  3. 2
      lite/AndroidManifest.xml

2
core/src/org/transdroid/core/service/ConnectivityHelper.java

@ -46,7 +46,7 @@ public class ConnectivityHelper { @@ -46,7 +46,7 @@ public class ConnectivityHelper {
}
public String getConnectedNetworkName() {
if (wifiManager.getConnectionInfo() != null) {
if (wifiManager.getConnectionInfo() != null && wifiManager.getConnectionInfo().getSSID() != null) {
return wifiManager.getConnectionInfo().getSSID().replace("\"", "");
}
return null;

2
full/AndroidManifest.xml

@ -233,7 +233,7 @@ @@ -233,7 +233,7 @@
<service android:name="org.transdroid.core.service.AppUpdateService_" />
<receiver android:name="org.transdroid.core.service.AlarmReceiver_" />
<receiver android:name="org.transdroid.core.service.BootReceiver_" >
<receiver android:name="org.transdroid.core.service.BootReceiver" >
<intent-filter>
<action
android:name="android.intent.action.BOOT_COMPLETED"

2
lite/AndroidManifest.xml

@ -178,7 +178,7 @@ @@ -178,7 +178,7 @@
<service android:name="org.transdroid.core.service.AppUpdateService_" />
<receiver android:name="org.transdroid.core.service.AlarmReceiver_" />
<receiver android:name="org.transdroid.core.service.BootReceiver_" >
<receiver android:name="org.transdroid.core.service.BootReceiver" >
<intent-filter>
<action
android:name="android.intent.action.BOOT_COMPLETED"

Loading…
Cancel
Save