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 movement sensitivty adjustor for now

n8fr8a9fc6907d3b7
diff --git a/src/main/java/info/guardianproject/phoneypot/SettingsActivity.java b/src/main/java/info/guardianproject/phoneypot/SettingsActivity.java
index 833002f..18c3746 100644
--- a/src/main/java/info/guardianproject/phoneypot/SettingsActivity.java
+++ b/src/main/java/info/guardianproject/phoneypot/SettingsActivity.java
@@ -124,6 +124,14 @@ public class SettingsActivity extends AppCompatActivity {
timerDelay.setMinValue(0);
timerDelay.setValue(preferences.getTimerDelay());
+ /**
+ findViewById(R.id.action_configure_movement).setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+
+ }
+ });**/
+
findViewById(R.id.action_configure_mic).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
diff --git a/src/main/res/layout/activity_settings.xml b/src/main/res/layout/activity_settings.xml
index ca4c1ed..97c7770 100644
--- a/src/main/res/layout/activity_settings.xml
+++ b/src/main/res/layout/activity_settings.xml
@@ -66,6 +66,7 @@
android:layout_margin="6dp"/>
</RadioGroup>
+ <!--
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -87,7 +88,7 @@
android:text="@string/action_configure"
android:id="@+id/action_configure_movement"
/>
-</LinearLayout>
+</LinearLayout>-->
<LinearLayout
android:layout_width="wrap_content"