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

remove Toast UI notification, as it is not effective or needed

n8fr80e9599fb54ff
diff --git a/src/main/java/org/havenapp/main/service/MonitorService.java b/src/main/java/org/havenapp/main/service/MonitorService.java
index 51c591e..2bd0db5 100644
--- a/src/main/java/org/havenapp/main/service/MonitorService.java
+++ b/src/main/java/org/havenapp/main/service/MonitorService.java
@@ -280,7 +280,8 @@ public class MonitorService extends Service {
StringBuffer alertMessage = new StringBuffer();
alertMessage.append(getString(R.string.intrusion_detected,eventTrigger.getStringType(this)));
- Toast.makeText(this,alertMessage.toString(),Toast.LENGTH_SHORT).show();
+ // removing toast, but we should have some visual feedback for testing on the monitor screen
+// Toast.makeText(this,alertMessage.toString(),Toast.LENGTH_SHORT).show();
if (mPrefs.getSignalUsername() != null)
{