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

Fix minor lint issue with redundant warning suppression.

fattire949de507ffd3
diff --git a/src/main/java/org/havenapp/main/service/MonitorService.java b/src/main/java/org/havenapp/main/service/MonitorService.java
index 2542bbd..cd87f98 100644
--- a/src/main/java/org/havenapp/main/service/MonitorService.java
+++ b/src/main/java/org/havenapp/main/service/MonitorService.java
@@ -181,8 +181,7 @@ public class MonitorService extends Service {
/**
* Show a notification while this service is running.
*/
- @SuppressWarnings("deprecation")
- private void showNotification() {
+ private void showNotification() {
Intent toLaunch = new Intent(getApplicationContext(),
MonitorActivity.class);