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

source code cleanup

n8fr8d15980fff867
diff --git a/src/main/java/info/guardianproject/phoneypot/ListActivity.java b/src/main/java/info/guardianproject/phoneypot/ListActivity.java
index b5d82a7..b6d1915 100644
--- a/src/main/java/info/guardianproject/phoneypot/ListActivity.java
+++ b/src/main/java/info/guardianproject/phoneypot/ListActivity.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2017 Nathanial Freitas
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package info.guardianproject.phoneypot;
import android.database.sqlite.SQLiteException;
@@ -37,16 +54,12 @@ import com.mikepenz.aboutlibraries.Libs;
import com.mikepenz.aboutlibraries.LibsBuilder;
import java.io.File;
-import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
-import java.util.TimerTask;
-/**
- * Created by n8fr8 on 4/16/17.
- */
+
public class ListActivity extends AppCompatActivity {
diff --git a/src/main/java/info/guardianproject/phoneypot/MonitorActivity.java b/src/main/java/info/guardianproject/phoneypot/MonitorActivity.java
index e6d09aa..57f8a97 100644
--- a/src/main/java/info/guardianproject/phoneypot/MonitorActivity.java
+++ b/src/main/java/info/guardianproject/phoneypot/MonitorActivity.java
@@ -1,4 +1,3 @@
-
/*
* Copyright (c) 2017 Nathanial Freitas / Guardian Project
* * Licensed under the GPLv3 license.
diff --git a/src/main/java/info/guardianproject/phoneypot/PhoneyPotApp.java b/src/main/java/info/guardianproject/phoneypot/PhoneyPotApp.java
index 986b000..48d9021 100644
--- a/src/main/java/info/guardianproject/phoneypot/PhoneyPotApp.java
+++ b/src/main/java/info/guardianproject/phoneypot/PhoneyPotApp.java
@@ -1,23 +1,33 @@
+/*
+ * Copyright (c) 2017 Nathanial Freitas
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package info.guardianproject.phoneypot;
-import android.app.Application;
import android.support.multidex.MultiDexApplication;
import android.text.TextUtils;
import android.util.Log;
import com.facebook.drawee.backends.pipeline.Fresco;
-import com.orm.SugarApp;
import com.orm.SugarContext;
import java.io.IOException;
-import java.util.prefs.Preferences;
import info.guardianproject.phoneypot.service.WebServer;
-/**
- * Created by n8fr8 on 8/9/17.
- */
-
public class PhoneyPotApp extends MultiDexApplication {