Updated system so it will run without SMS permissions granted. Changed notification to warn the user if SMS alarms are enabled. Fixed notification icon background.

This commit is contained in:
Graham Jones
2019-01-27 21:14:07 +00:00
parent 02b2451a57
commit 6d5771181f
7 changed files with 64 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 B

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 B

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 B

After

Width:  |  Height:  |  Size: 252 B

View File

@@ -48,7 +48,7 @@
<CheckBoxPreference
android:defaultValue="false"
android:key="SMSAlarm"
android:summary="Issue a SMS (Text Message) alarm if the seizure detector enters an alarm condition."
android:summary="Issue a SMS (Text Message) alarm if the seizure detector enters an alarm condition. NOTE: THE MESSAGE WILL INCLUDE THE USER's LOCATION. Disable this option if sharing your location is a concern."
android:title="Enable SMS Alarm" />
<EditTextPreference
android:defaultValue=""