Skip to content

armgit / haven

Public Imported from GitHub
0

Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors

Fixed binding in AndroidManifest for refactored UploadService

Luca Bonato9100b34a2771
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index c997510..6f83f0b 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -39,6 +39,6 @@
android:name=".MonitorActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait"/>
- <service android:name=".service.BluetoothService"/>
+ <service android:name=".service.UploadService"/>
</application>
-</manifest>
\ No newline at end of file
+</manifest>
diff --git a/src/me/ziccard/secureit/service/UploadService.java b/src/me/ziccard/secureit/service/UploadService.java
index 1bb6704..0620e81 100644
--- a/src/me/ziccard/secureit/service/UploadService.java
+++ b/src/me/ziccard/secureit/service/UploadService.java
@@ -93,7 +93,7 @@ public class UploadService extends Service {
try {
new BluetoothServerTask(this).start();
} catch (NoBluetoothException e) {
- Log.i("BluetoothService", "Background bluetooth server not started");
+ Log.i("UploadService", "Background bluetooth server not started");
CharSequence text = "Background bluetooth server not started";
int duration = Toast.LENGTH_SHORT;
Toast toast = Toast.makeText(this, text, duration);
@@ -221,7 +221,7 @@ public class UploadService extends Service {
try {
MicrophoneTaskFactory.makeRecorder(this).start();
} catch (RecordLimitExceeded e) {
- Log.e("BluetoothService", "An audio is being uploaded");
+ Log.e("UploadService", "An audio is being uploaded");
}
/*
* Periodic position uploader task