Android 6+ Permissions #6

This commit is contained in:
LadyViktoria 2016-11-25 12:42:24 +01:00 committed by AdrianLxM
parent ff29a795db
commit 39be1bb4c7
2 changed files with 2 additions and 3 deletions

View file

@ -251,7 +251,7 @@ public class MainActivity extends AppCompatActivity {
//show dialog after permission is granted
AlertDialog.Builder alert = new AlertDialog.Builder(this);
alert.setMessage(R.string.alert_dialog_storage_permission_text);
alert.setPositiveButton(R.string.alert_dialog_positive_button,null);
alert.setPositiveButton(R.string.ok,null);
alert.show();
break;
case CASE_SMS:

View file

@ -14,8 +14,7 @@
<string name="danar_useextended_title">Use extended boluses for >200%</string>
<string name="danar_bt_name_title">DanaR Bluetooth device</string>
<string name="ns_sync_use_absolute_title">Always use basal absolute values</string>
<string name="alert_dialog_positive_button">OK</string>
<string name="alert_dialog_storage_permission_text">Please Restart Android APS \notherwise Android APS will not work proper!</string>
<string name="alert_dialog_storage_permission_text">Please reboot your phone or restart AndroidAPS from the System Settings \notherwise Android APS will not have logging (important to track and verify that the algorithms are working correctly)!</string>
<string name="objectives_objective_label_string">Objective:</string>
<string name="objectives_gate_label_string">Gate:</string>