test alert fix
This commit is contained in:
parent
aeae32cc79
commit
e37917dae4
|
@ -174,9 +174,9 @@ public class MainActivity extends AppCompatActivity {
|
|||
REQUEST_CODE_ASK_PERMISSIONS
|
||||
);
|
||||
}
|
||||
Intent alarmServiceIntent = new Intent(getApplicationContext(), AlertService.class);
|
||||
alarmServiceIntent.putExtra("alarmText", getString(R.string.nav_test_alarm));
|
||||
getApplicationContext().startService(alarmServiceIntent);
|
||||
Intent alertServiceIntent = new Intent(getApplicationContext(), AlertService.class);
|
||||
alertServiceIntent.putExtra("alertText", getString(R.string.nav_test_alert));
|
||||
getApplicationContext().startService(alertServiceIntent);
|
||||
break;
|
||||
case R.id.nav_exit:
|
||||
log.debug("Exiting");
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
android:title="@string/nav_import" />
|
||||
<item
|
||||
android:id="@+id/nav_test_alarm"
|
||||
android:title="@string/nav_test_alarm" />
|
||||
android:title="@string/nav_test_alert" />
|
||||
<item
|
||||
android:id="@+id/nav_exit"
|
||||
android:title="@string/nav_exit" />
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
<string name="nav_preferences">Опции</string>
|
||||
<string name="nav_refreshtreatments">Обнови събития от NS</string>
|
||||
<string name="nav_resetdb">Нулирай базата данни</string>
|
||||
<string name="nav_test_alarm">Тест на аларми</string>
|
||||
<string name="nav_test_alert">Тест на аларми</string>
|
||||
<string name="noapsselected">Не е избран APS или </string>
|
||||
<string name="nochangerequested">Не се изискват промени</string>
|
||||
<string name="noprofile">Не е зареден профил от NS</string>
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
<string name="nav_preferences">Nastavení</string>
|
||||
<string name="nav_refreshtreatments">Aktualizuj ošetření z NS</string>
|
||||
<string name="nav_resetdb">Inicializuj databáze</string>
|
||||
<string name="nav_test_alarm">Test alarmu</string>
|
||||
<string name="nav_test_alert">Test alarmu</string>
|
||||
<string name="noapsselected">ŽÁDNÉ APS NEVYBRÁNO NEBO NEVRÁTILO VÝSLEDEK</string>
|
||||
<string name="nochangerequested">Změna nepožadována</string>
|
||||
<string name="noprofile">Dosud nebyl načten profil z NS</string>
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
<string name="noprofile">Bisher noch kein Profil von NS geladen</string>
|
||||
<string name="nochangerequested">No change requested</string>
|
||||
<string name="noapsselected">NO APS SELECTED OR PROVIDED RESULT</string>
|
||||
<string name="nav_test_alarm">Test Alarm</string>
|
||||
<string name="nav_test_alert">Test Alarm</string>
|
||||
<string name="avgdelta">Avg. delta:</string>
|
||||
<string name="bolusconstraintapplied">Bolus constraint applied</string>
|
||||
<string name="careportal_announcement">Ankündigung</string>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<string name="nav_preferences">Preferences</string>
|
||||
<string name="nav_refreshtreatments">Refresh treatments from NS</string>
|
||||
<string name="nav_backup">Backup</string>
|
||||
<string name="nav_test_alarm">Test alarm</string>
|
||||
<string name="nav_test_alert">Test alarm</string>
|
||||
<string name="nav_resetdb">Reset databases</string>
|
||||
<string name="nav_exit">Exit</string>
|
||||
<string name="danar_useextended_title">Use extended boluses for >200%</string>
|
||||
|
|
Loading…
Reference in a new issue