From ea39f4485b25b4641fc8caa22483c657b06ad442 Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Fri, 13 Sep 2013 15:08:07 +0200 Subject: [PATCH] Fix loading of the boot receiver. --- core/src/org/transdroid/core/service/ConnectivityHelper.java | 2 +- full/AndroidManifest.xml | 2 +- lite/AndroidManifest.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/org/transdroid/core/service/ConnectivityHelper.java b/core/src/org/transdroid/core/service/ConnectivityHelper.java index be7d1775..a4e1805f 100644 --- a/core/src/org/transdroid/core/service/ConnectivityHelper.java +++ b/core/src/org/transdroid/core/service/ConnectivityHelper.java @@ -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; diff --git a/full/AndroidManifest.xml b/full/AndroidManifest.xml index 61202835..0f4a0f9b 100644 --- a/full/AndroidManifest.xml +++ b/full/AndroidManifest.xml @@ -233,7 +233,7 @@ - + - +