Create keys for uel.log
This commit is contained in:
parent
b5ed2f6cbf
commit
14454f6c15
|
@ -31,7 +31,7 @@ class StatsActivity : NoSplashAppCompatActivity() {
|
|||
binding.ok.setOnClickListener { finish() }
|
||||
binding.reset.setOnClickListener {
|
||||
OKDialog.showConfirmation(this, resourceHelper.gs(R.string.doyouwantresetstats)) {
|
||||
uel.log("STATS RESET")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_stat_reset))
|
||||
activityMonitor.reset()
|
||||
recreate()
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ class CalibrationDialog : DialogFragmentWithDate() {
|
|||
if (bg > 0) {
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.overview_calibration), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), {
|
||||
uel.log("CALIBRATION", d1 = bg)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_calibration), d1 = bg)
|
||||
xdripCalibrations.sendIntent(bg)
|
||||
})
|
||||
}
|
||||
|
|
|
@ -212,7 +212,7 @@ class CarbsDialog : DialogFragmentWithDate() {
|
|||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.carbs), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), {
|
||||
when {
|
||||
activitySelected -> {
|
||||
uel.log("TT ACTIVITY", d1 = activityTT, i1 = activityTTDuration)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_tt_activity), d1 = activityTT, i1 = activityTTDuration)
|
||||
val tempTarget = TempTarget()
|
||||
.date(System.currentTimeMillis())
|
||||
.duration(activityTTDuration)
|
||||
|
@ -224,7 +224,7 @@ class CarbsDialog : DialogFragmentWithDate() {
|
|||
}
|
||||
|
||||
eatingSoonSelected -> {
|
||||
uel.log("TT EATING SOON", d1 = eatingSoonTT, i1 = eatingSoonTTDuration)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_tt_eating_soon), d1 = eatingSoonTT, i1 = eatingSoonTTDuration)
|
||||
val tempTarget = TempTarget()
|
||||
.date(System.currentTimeMillis())
|
||||
.duration(eatingSoonTTDuration)
|
||||
|
@ -236,7 +236,7 @@ class CarbsDialog : DialogFragmentWithDate() {
|
|||
}
|
||||
|
||||
hypoSelected -> {
|
||||
uel.log("TT HYPO", d1 = hypoTT, i1 = hypoTTDuration)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_tt_hypo), d1 = hypoTT, i1 = hypoTTDuration)
|
||||
val tempTarget = TempTarget()
|
||||
.date(System.currentTimeMillis())
|
||||
.duration(hypoTTDuration)
|
||||
|
@ -249,10 +249,10 @@ class CarbsDialog : DialogFragmentWithDate() {
|
|||
}
|
||||
if (carbsAfterConstraints > 0) {
|
||||
if (duration == 0) {
|
||||
uel.log("CARBS", d1 = carbsAfterConstraints.toDouble(), i1 = timeOffset)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_carb), d1 = carbsAfterConstraints.toDouble(), i1 = timeOffset)
|
||||
carbsGenerator.createCarb(carbsAfterConstraints, time, CareportalEvent.CARBCORRECTION, notes)
|
||||
} else {
|
||||
uel.log("CARBS", d1 = carbsAfterConstraints.toDouble(), i1 = timeOffset, i2 = duration)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_carb), d1 = carbsAfterConstraints.toDouble(), i1 = timeOffset, i2 = duration)
|
||||
carbsGenerator.generateCarbs(carbsAfterConstraints, time, duration, notes)
|
||||
nsUpload.uploadEvent(CareportalEvent.NOTE, DateUtil.now() - 2000, resourceHelper.gs(R.string.generated_ecarbs_note, carbsAfterConstraints, duration, timeOffset))
|
||||
}
|
||||
|
|
|
@ -222,7 +222,7 @@ class CareDialog : DialogFragmentWithDate() {
|
|||
EventType.ANNOUNCEMENT -> CareportalEvent.ANNOUNCEMENT
|
||||
}
|
||||
careportalEvent.json = json.toString()
|
||||
uel.log("CAREPORTAL", careportalEvent.eventType)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_careportal), careportalEvent.eventType)
|
||||
MainApp.getDbHelper().createOrUpdate(careportalEvent)
|
||||
nsUpload.uploadCareportalEntryToNS(json)
|
||||
}, null)
|
||||
|
|
|
@ -87,7 +87,7 @@ class ExtendedBolusDialog : DialogFragmentWithDate() {
|
|||
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.extended_bolus), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), {
|
||||
uel.log("EXTENDED BOLUS", d1 = insulinAfterConstraint, i1 = durationInMinutes)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_extended_bolus), d1 = insulinAfterConstraint, i1 = durationInMinutes)
|
||||
commandQueue.extendedBolus(insulinAfterConstraint, durationInMinutes, object : Callback() {
|
||||
override fun run() {
|
||||
if (!result.success) {
|
||||
|
|
|
@ -127,16 +127,16 @@ class FillDialog : DialogFragmentWithDate() {
|
|||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.primefill), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), {
|
||||
if (insulinAfterConstraints > 0) {
|
||||
uel.log("PRIME BOLUS", d1 = insulinAfterConstraints)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_prime_bolus), d1 = insulinAfterConstraints)
|
||||
requestPrimeBolus(insulinAfterConstraints, notes)
|
||||
}
|
||||
if (siteChange) {
|
||||
uel.log("SITE CHANGE")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_site_change))
|
||||
nsUpload.generateCareportalEvent(CareportalEvent.SITECHANGE, eventTime, notes)
|
||||
}
|
||||
if (insulinChange) {
|
||||
// add a second for case of both checked
|
||||
uel.log("INSULIN CHANGE")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_insulin_change))
|
||||
nsUpload.generateCareportalEvent(CareportalEvent.INSULINCHANGE, eventTime + 1000, notes)
|
||||
}
|
||||
}, null)
|
||||
|
|
|
@ -178,7 +178,7 @@ class InsulinDialog : DialogFragmentWithDate() {
|
|||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.bolus), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), {
|
||||
if (eatingSoonChecked) {
|
||||
uel.log("TT EATING SOON", d1 = eatingSoonTT, i1 = eatingSoonTTDuration)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_tt_eating_soon), d1 = eatingSoonTT, i1 = eatingSoonTTDuration)
|
||||
val tempTarget = TempTarget()
|
||||
.date(System.currentTimeMillis())
|
||||
.duration(eatingSoonTTDuration)
|
||||
|
@ -196,11 +196,11 @@ class InsulinDialog : DialogFragmentWithDate() {
|
|||
detailedBolusInfo.source = Source.USER
|
||||
detailedBolusInfo.notes = notes
|
||||
if (recordOnlyChecked) {
|
||||
uel.log("BOLUS RECORD", d1 = insulinAfterConstraints, i1 = timeOffset)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_bolus_record), d1 = insulinAfterConstraints, i1 = timeOffset)
|
||||
detailedBolusInfo.date = time
|
||||
activePlugin.activeTreatments.addToHistoryTreatment(detailedBolusInfo, false)
|
||||
} else {
|
||||
uel.log("BOLUS", d1 = insulinAfterConstraints)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_bolus), d1 = insulinAfterConstraints)
|
||||
detailedBolusInfo.date = DateUtil.now()
|
||||
commandQueue.bolus(detailedBolusInfo, object : Callback() {
|
||||
override fun run() {
|
||||
|
|
|
@ -238,28 +238,28 @@ class LoopDialog : DaggerDialogFragment() {
|
|||
val profile = profileFunction.getProfile() ?: return true
|
||||
when (v.id) {
|
||||
R.id.overview_closeloop -> {
|
||||
uel.log("CLOSED LOOP MODE")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_closed_loop_mode))
|
||||
sp.putString(R.string.key_aps_mode, "closed")
|
||||
rxBus.send(EventPreferenceChange(resourceHelper.gs(R.string.closedloop)))
|
||||
return true
|
||||
}
|
||||
|
||||
R.id.overview_lgsloop -> {
|
||||
uel.log("LGS LOOP MODE")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_lgs_loop_mode))
|
||||
sp.putString(R.string.key_aps_mode, "lgs")
|
||||
rxBus.send(EventPreferenceChange(resourceHelper.gs(R.string.lowglucosesuspend)))
|
||||
return true
|
||||
}
|
||||
|
||||
R.id.overview_openloop -> {
|
||||
uel.log("OPEN LOOP MODE")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_open_loop_mode))
|
||||
sp.putString(R.string.key_aps_mode, "open")
|
||||
rxBus.send(EventPreferenceChange(resourceHelper.gs(R.string.lowglucosesuspend)))
|
||||
return true
|
||||
}
|
||||
|
||||
R.id.overview_disable -> {
|
||||
uel.log("LOOP DISABLED")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_loop_disabled))
|
||||
loopPlugin.setPluginEnabled(PluginType.LOOP, false)
|
||||
loopPlugin.setFragmentVisible(PluginType.LOOP, false)
|
||||
configBuilderPlugin.storeSettings("DisablingLoop")
|
||||
|
@ -276,7 +276,7 @@ class LoopDialog : DaggerDialogFragment() {
|
|||
}
|
||||
|
||||
R.id.overview_enable -> {
|
||||
uel.log("LOOP ENABLED")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_loop_enabled))
|
||||
loopPlugin.setPluginEnabled(PluginType.LOOP, true)
|
||||
loopPlugin.setFragmentVisible(PluginType.LOOP, true)
|
||||
configBuilderPlugin.storeSettings("EnablingLoop")
|
||||
|
@ -286,7 +286,7 @@ class LoopDialog : DaggerDialogFragment() {
|
|||
}
|
||||
|
||||
R.id.overview_resume, R.id.overview_reconnect -> {
|
||||
uel.log("RESUME")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_resume))
|
||||
loopPlugin.suspendTo(0L)
|
||||
rxBus.send(EventRefreshOverview("suspendmenu"))
|
||||
commandQueue.cancelTempBasal(true, object : Callback() {
|
||||
|
@ -302,49 +302,49 @@ class LoopDialog : DaggerDialogFragment() {
|
|||
}
|
||||
|
||||
R.id.overview_suspend_1h -> {
|
||||
uel.log("SUSPEND 1h")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_suspend_1h))
|
||||
loopPlugin.suspendLoop(60)
|
||||
rxBus.send(EventRefreshOverview("suspendmenu"))
|
||||
return true
|
||||
}
|
||||
|
||||
R.id.overview_suspend_2h -> {
|
||||
uel.log("SUSPEND 2h")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_suspend_2h))
|
||||
loopPlugin.suspendLoop(120)
|
||||
rxBus.send(EventRefreshOverview("suspendmenu"))
|
||||
return true
|
||||
}
|
||||
|
||||
R.id.overview_suspend_3h -> {
|
||||
uel.log("SUSPEND 3h")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_suspend_3h))
|
||||
loopPlugin.suspendLoop(180)
|
||||
rxBus.send(EventRefreshOverview("suspendmenu"))
|
||||
return true
|
||||
}
|
||||
|
||||
R.id.overview_suspend_10h -> {
|
||||
uel.log("SUSPEND 10h")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_suspend_10h))
|
||||
loopPlugin.suspendLoop(600)
|
||||
rxBus.send(EventRefreshOverview("suspendmenu"))
|
||||
return true
|
||||
}
|
||||
|
||||
R.id.overview_disconnect_15m -> {
|
||||
uel.log("DISCONNECT 15m")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_disconnect_15m))
|
||||
loopPlugin.disconnectPump(15, profile)
|
||||
rxBus.send(EventRefreshOverview("suspendmenu"))
|
||||
return true
|
||||
}
|
||||
|
||||
R.id.overview_disconnect_30m -> {
|
||||
uel.log("DISCONNECT 30m")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_disconnect_30m))
|
||||
loopPlugin.disconnectPump(30, profile)
|
||||
rxBus.send(EventRefreshOverview("suspendmenu"))
|
||||
return true
|
||||
}
|
||||
|
||||
R.id.overview_disconnect_1h -> {
|
||||
uel.log("DISCONNECT 1h")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_disconnect_1h))
|
||||
loopPlugin.disconnectPump(60, profile)
|
||||
sp.putBoolean(R.string.key_objectiveusedisconnect, true)
|
||||
rxBus.send(EventRefreshOverview("suspendmenu"))
|
||||
|
@ -352,14 +352,14 @@ class LoopDialog : DaggerDialogFragment() {
|
|||
}
|
||||
|
||||
R.id.overview_disconnect_2h -> {
|
||||
uel.log("DISCONNECT 2h")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_disconnect_2h))
|
||||
loopPlugin.disconnectPump(120, profile)
|
||||
rxBus.send(EventRefreshOverview("suspendmenu"))
|
||||
return true
|
||||
}
|
||||
|
||||
R.id.overview_disconnect_3h -> {
|
||||
uel.log("DISCONNECT 3h")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_disconnect_3h))
|
||||
loopPlugin.disconnectPump(180, profile)
|
||||
rxBus.send(EventRefreshOverview("suspendmenu"))
|
||||
return true
|
||||
|
|
|
@ -124,7 +124,7 @@ class ProfileSwitchDialog : DialogFragmentWithDate() {
|
|||
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.careportal_profileswitch), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), {
|
||||
uel.log("PROFILE SWITCH", d1 = percent.toDouble(), i1 = timeShift, i2 = duration)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_profile_switch), d1 = percent.toDouble(), i1 = timeShift, i2 = duration)
|
||||
treatmentsPlugin.doProfileSwitch(profileStore, profile, duration, percent, timeShift, eventTime)
|
||||
})
|
||||
}
|
||||
|
|
|
@ -125,10 +125,10 @@ class TempBasalDialog : DialogFragmentWithDate() {
|
|||
}
|
||||
}
|
||||
if (isPercentPump) {
|
||||
uel.log("TEMP BASAL", d1 = percent.toDouble(), i1 = durationInMinutes)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_temp_basal), d1 = percent.toDouble(), i1 = durationInMinutes)
|
||||
commandQueue.tempBasalPercent(percent, durationInMinutes, true, profile, callback)
|
||||
} else {
|
||||
uel.log("TEMP BASAL", d1 = absolute, i1 = durationInMinutes)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_temp_basal), d1 = absolute, i1 = durationInMinutes)
|
||||
commandQueue.tempBasalAbsolute(absolute, durationInMinutes, true, profile, callback)
|
||||
}
|
||||
})
|
||||
|
|
|
@ -164,7 +164,7 @@ class TempTargetDialog : DialogFragmentWithDate() {
|
|||
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.careportal_temporarytarget), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), {
|
||||
uel.log("TT", d1 = target, i1 = duration)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_tt), d1 = target, i1 = duration)
|
||||
if (target == 0.0 || duration == 0) {
|
||||
val tempTarget = TempTarget()
|
||||
.date(eventTime)
|
||||
|
|
|
@ -129,7 +129,7 @@ class TreatmentDialog : DialogFragmentWithDate() {
|
|||
if (insulinAfterConstraints > 0 || carbsAfterConstraints > 0) {
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.overview_treatment_label), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), {
|
||||
uel.log("TREATMENT", d1 = insulin, i1 = carbs)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_treatment), d1 = insulin, i1 = carbs)
|
||||
val detailedBolusInfo = DetailedBolusInfo()
|
||||
if (insulinAfterConstraints == 0.0) detailedBolusInfo.eventType = CareportalEvent.CARBCORRECTION
|
||||
if (carbsAfterConstraints == 0) detailedBolusInfo.eventType = CareportalEvent.CORRECTIONBOLUS
|
||||
|
|
|
@ -142,7 +142,7 @@ class ConfigBuilderPlugin @Inject constructor(
|
|||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.allow_hardware_pump_text), Runnable {
|
||||
performPluginSwitch(changedPlugin, newState, type)
|
||||
sp.putBoolean("allow_hardware_pump", true)
|
||||
uel.log("HW PUMP ALLOWED")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_hw_pump_allowed))
|
||||
aapsLogger.debug(LTag.PUMP, "First time HW pump allowed!")
|
||||
}, Runnable {
|
||||
rxBus.send(EventConfigBuilderUpdateGui())
|
||||
|
|
|
@ -307,7 +307,7 @@ class ObjectivesFragment : DaggerFragment() {
|
|||
holder.binding.unstart.setOnClickListener {
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.objectives), resourceHelper.gs(R.string.doyouwantresetstart), Runnable {
|
||||
uel.log("OBJECTIVE UNSTARTED", i1 = position + 1)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_objective_unstarted), i1 = position + 1)
|
||||
objective.startedOn = 0
|
||||
scrollToCurrentObjective()
|
||||
rxBus.send(EventObjectivesUpdateGui())
|
||||
|
|
|
@ -142,7 +142,7 @@ class ObjectivesPlugin @Inject constructor(
|
|||
sp.putLong("Objectives_" + "auto" + "_accomplished", DateUtil.now())
|
||||
setupObjectives()
|
||||
OKDialog.show(activity, resourceHelper.gs(R.string.objectives), resourceHelper.gs(R.string.codeaccepted))
|
||||
uel.log("OBJECTIVES SKIPPED")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_objectives_skipped))
|
||||
} else {
|
||||
OKDialog.show(activity, resourceHelper.gs(R.string.objectives), resourceHelper.gs(R.string.codeinvalid))
|
||||
}
|
||||
|
|
|
@ -154,7 +154,7 @@ class ActionsFragment : DaggerFragment() {
|
|||
}
|
||||
extendedBolusCancel?.setOnClickListener {
|
||||
if (activePlugin.activeTreatments.isInHistoryExtendedBoluslInProgress) {
|
||||
uel.log("CANCEL EXTENDED BOLUS")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_cancel_extended_bolus))
|
||||
commandQueue.cancelExtended(object : Callback() {
|
||||
override fun run() {
|
||||
if (!result.success) {
|
||||
|
@ -169,7 +169,7 @@ class ActionsFragment : DaggerFragment() {
|
|||
}
|
||||
cancelTempBasal?.setOnClickListener {
|
||||
if (activePlugin.activeTreatments.isTempBasalInProgress) {
|
||||
uel.log("CANCEL TEMP BASAL")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_cancel_temp_basal))
|
||||
commandQueue.cancelTempBasal(true, object : Callback() {
|
||||
override fun run() {
|
||||
if (!result.success) {
|
||||
|
|
|
@ -216,7 +216,7 @@ class AutomationFragment : DaggerFragment(), OnStartDragListener {
|
|||
holder.binding.iconTrash.setOnClickListener {
|
||||
OKDialog.showConfirmation(requireContext(), resourceHelper.gs(R.string.removerecord) + " " + automationPlugin.at(position).title,
|
||||
{
|
||||
uel.log("AUTOM REMOVED", automationPlugin.at(position).title)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_autom_removed), automationPlugin.at(position).title)
|
||||
automationPlugin.removeAt(position)
|
||||
notifyItemRemoved(position)
|
||||
}, {
|
||||
|
@ -239,7 +239,7 @@ class AutomationFragment : DaggerFragment(), OnStartDragListener {
|
|||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.removerecord) + " " + automationPlugin.at(position).title,
|
||||
Runnable {
|
||||
uel.log("AUTOM REMOVED", automationPlugin.at(position).title)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_autom_removed), automationPlugin.at(position).title)
|
||||
automationPlugin.removeAt(position)
|
||||
notifyItemRemoved(position)
|
||||
rxBus.send(EventAutomationDataChanged())
|
||||
|
|
|
@ -216,7 +216,7 @@ class FoodFragment : DaggerFragment() {
|
|||
val food = v.tag as Food
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.confirmation), resourceHelper.gs(R.string.removerecord) + "\n" + food.name, DialogInterface.OnClickListener { _: DialogInterface?, _: Int ->
|
||||
uel.log("FOOD REMOVED", food.name)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_food_removed), food.name)
|
||||
if (food._id != null && food._id != "") {
|
||||
nsUpload.removeFoodFromNS(food._id)
|
||||
}
|
||||
|
|
|
@ -344,7 +344,7 @@ class ImportExportPrefs @Inject constructor(
|
|||
private fun restartAppAfterImport(context: Context) {
|
||||
sp.putBoolean(R.string.key_setupwizard_processed, true)
|
||||
OKDialog.show(context, resourceHelper.gs(R.string.setting_imported), resourceHelper.gs(R.string.restartingapp), Runnable {
|
||||
uel.log("IMPORT")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_import))
|
||||
log.debug(LTag.CORE, "Exiting")
|
||||
rxBus.send(EventAppExit())
|
||||
if (context is AppCompatActivity) {
|
||||
|
|
|
@ -56,13 +56,13 @@ class MaintenanceFragment : DaggerFragment() {
|
|||
super.onViewCreated(view, savedInstanceState)
|
||||
binding.logSend.setOnClickListener { maintenancePlugin.sendLogs() }
|
||||
binding.logDelete.setOnClickListener {
|
||||
uel.log("DELETE LOGS")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_delete_logs))
|
||||
maintenancePlugin.deleteLogs()
|
||||
}
|
||||
binding.navResetdb.setOnClickListener {
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.maintenance), resourceHelper.gs(R.string.reset_db_confirm), Runnable {
|
||||
uel.log("RESET DATABASES")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_reset_databases))
|
||||
compositeDisposable.add(
|
||||
fromAction {
|
||||
MainApp.getDbHelper().resetDatabases()
|
||||
|
@ -83,14 +83,14 @@ class MaintenanceFragment : DaggerFragment() {
|
|||
}
|
||||
}
|
||||
binding.navExport.setOnClickListener {
|
||||
uel.log("EXPORT SETTINGS")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_export_settings))
|
||||
// start activity for checking permissions...
|
||||
importExportPrefs.verifyStoragePermissions(this) {
|
||||
importExportPrefs.exportSharedPreferences(this)
|
||||
}
|
||||
}
|
||||
binding.navImport.setOnClickListener {
|
||||
uel.log("IMPORT SETTINGS")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_import_settings))
|
||||
// start activity for checking permissions...
|
||||
importExportPrefs.verifyStoragePermissions(this) {
|
||||
importExportPrefs.importSharedPreferences(this)
|
||||
|
|
|
@ -123,7 +123,7 @@ public class NSClientFragment extends DaggerFragment implements View.OnClickList
|
|||
break;
|
||||
case R.id.nsclientinternal_clearqueue:
|
||||
OKDialog.showConfirmation(getContext(), resourceHelper.gs(R.string.nsclientinternal), resourceHelper.gs(R.string.clearqueueconfirm), () -> {
|
||||
uel.log("NS QUEUE CLEARED", "", 0.0, 0.0, 0, 0);
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_ns_queue_cleared), "", 0.0, 0.0, 0, 0);
|
||||
uploadQueue.clearQueue();
|
||||
updateGui();
|
||||
fabricPrivacy.logCustom("NSClientClearQueue");
|
||||
|
@ -139,7 +139,7 @@ public class NSClientFragment extends DaggerFragment implements View.OnClickList
|
|||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
switch (buttonView.getId()) {
|
||||
case R.id.nsclientinternal_paused:
|
||||
uel.log("NS PAUSED", "", 0.0, 0.0, isChecked ? 1 : 0, 0);
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_ns_paused), "", 0.0, 0.0, isChecked ? 1 : 0, 0);
|
||||
nsClientPlugin.pause(isChecked);
|
||||
updateGui();
|
||||
fabricPrivacy.logCustom("NSClientPause");
|
||||
|
|
|
@ -235,7 +235,7 @@ class NSSettingsStatus @Inject constructor(
|
|||
getExtendedWarnValue("sage", "urgent")?.let { sp.putDouble(R.string.key_statuslights_sage_critical, it) }
|
||||
getExtendedWarnValue("bage", "warn")?.let { sp.putDouble(R.string.key_statuslights_bage_warning, it) }
|
||||
getExtendedWarnValue("bage", "urgent")?.let { sp.putDouble(R.string.key_statuslights_bage_critical, it) }
|
||||
uel.log("NS SETTINGS COPIED")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_ns_settings_copied))
|
||||
}
|
||||
|
||||
if (context != null) OKDialog.showConfirmation(context, resourceHelper.gs(R.string.statuslights), resourceHelper.gs(R.string.copyexistingvalues), action)
|
||||
|
|
|
@ -342,7 +342,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList
|
|||
protectionCheck.queryProtection(activity, ProtectionCheck.Protection.BOLUS, UIRunnable {
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.tempbasal_label), lastRun.constraintsProcessed?.toSpanned()
|
||||
?: "".toSpanned(), {
|
||||
uel.log("ACCEPT TEMP BASAL")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_accepts_temp_basal))
|
||||
binding.buttonsLayout.acceptTempButton.visibility = View.GONE
|
||||
(context?.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager).cancel(Constants.notificationID)
|
||||
rxBus.send(EventWearDoAction("cancelChangeRequest"))
|
||||
|
|
|
@ -337,7 +337,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
receivedSms.processed = true
|
||||
messageToConfirm = AuthRequest(injector, receivedSms, reply, passCode, object : SmsAction() {
|
||||
override fun run() {
|
||||
uel.log("SMS LOOP DISABLE")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_loop_disable))
|
||||
loopPlugin.setPluginEnabled(PluginType.LOOP, false)
|
||||
commandQueue.cancelTempBasal(true, object : Callback() {
|
||||
override fun run() {
|
||||
|
@ -361,7 +361,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
receivedSms.processed = true
|
||||
messageToConfirm = AuthRequest(injector, receivedSms, reply, passCode, object : SmsAction() {
|
||||
override fun run() {
|
||||
uel.log("SMS LOOP ENABLE")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_loop_enable))
|
||||
loopPlugin.setPluginEnabled(PluginType.LOOP, true)
|
||||
sendSMS(Sms(receivedSms.phoneNumber, resourceHelper.gs(R.string.smscommunicator_loophasbeenenabled)))
|
||||
rxBus.send(EventRefreshOverview("SMS_LOOP_START"))
|
||||
|
@ -388,7 +388,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
receivedSms.processed = true
|
||||
messageToConfirm = AuthRequest(injector, receivedSms, reply, passCode, object : SmsAction() {
|
||||
override fun run() {
|
||||
uel.log("SMS LOOP RESUME")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_loop_resume))
|
||||
loopPlugin.suspendTo(0L)
|
||||
rxBus.send(EventRefreshOverview("SMS_LOOP_RESUME"))
|
||||
commandQueue.cancelTempBasal(true, object : Callback() {
|
||||
|
@ -421,7 +421,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
receivedSms.processed = true
|
||||
messageToConfirm = AuthRequest(injector, receivedSms, reply, passCode, object : SmsAction(duration) {
|
||||
override fun run() {
|
||||
uel.log("SMS LOOP SUSPEND")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_loop_suspend))
|
||||
commandQueue.cancelTempBasal(true, object : Callback() {
|
||||
override fun run() {
|
||||
if (result.success) {
|
||||
|
@ -505,7 +505,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
receivedSms.processed = true
|
||||
messageToConfirm = AuthRequest(injector, receivedSms, reply, passCode, object : SmsAction() {
|
||||
override fun run() {
|
||||
uel.log("SMS PUMP CONNECT")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_pump_connect))
|
||||
commandQueue.cancelTempBasal(true, object : Callback() {
|
||||
override fun run() {
|
||||
if (!result.success) {
|
||||
|
@ -534,7 +534,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
receivedSms.processed = true
|
||||
messageToConfirm = AuthRequest(injector, receivedSms, reply, passCode, object : SmsAction() {
|
||||
override fun run() {
|
||||
uel.log("SMS PUMP DISCONNECT")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_pump_disconnect))
|
||||
val profile = profileFunction.getProfile()
|
||||
loopPlugin.disconnectPump(duration, profile)
|
||||
rxBus.send(EventRefreshOverview("SMS_PUMP_DISCONNECT"))
|
||||
|
@ -591,7 +591,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
activePlugin.activeTreatments.doProfileSwitch(store, list[pindex - 1] as String, 0, finalPercentage, 0, DateUtil.now())
|
||||
val replyText = resourceHelper.gs(R.string.profileswitchcreated)
|
||||
sendSMS(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS PROFILE", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_profile), replyText)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@ -613,12 +613,12 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
var replyText = resourceHelper.gs(R.string.smscommunicator_tempbasalcanceled)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS BASAL", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_basal), replyText)
|
||||
} else {
|
||||
var replyText = resourceHelper.gs(R.string.smscommunicator_tempbasalcancelfailed)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMS(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS BASAL", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_basal), replyText)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -646,12 +646,12 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
var replyText = if (result.isPercent) String.format(resourceHelper.gs(R.string.smscommunicator_tempbasalset_percent), result.percent, result.duration) else String.format(resourceHelper.gs(R.string.smscommunicator_tempbasalset), result.absolute, result.duration)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS BASAL", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_basal), replyText)
|
||||
} else {
|
||||
var replyText = resourceHelper.gs(R.string.smscommunicator_tempbasalfailed)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMS(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS BASAL", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_basal), replyText)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -681,12 +681,12 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
else String.format(resourceHelper.gs(R.string.smscommunicator_tempbasalset), result.absolute, result.duration)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS BASAL", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_basal), replyText)
|
||||
} else {
|
||||
var replyText = resourceHelper.gs(R.string.smscommunicator_tempbasalfailed)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMS(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS BASAL", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_basal), replyText)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -713,7 +713,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
var replyText = resourceHelper.gs(R.string.smscommunicator_extendedcancelfailed)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMS(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS EXTENDED", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_extended), replyText)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -739,12 +739,12 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
if (config.APS) replyText += "\n" + resourceHelper.gs(R.string.loopsuspended)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS EXTENDED", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_extended), replyText)
|
||||
} else {
|
||||
var replyText = resourceHelper.gs(R.string.smscommunicator_extendedfailed)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMS(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS EXTENDED", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_extended), replyText)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -813,12 +813,12 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
}
|
||||
}
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS BOLUS", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_bolus), replyText)
|
||||
} else {
|
||||
var replyText = resourceHelper.gs(R.string.smscommunicator_bolusfailed)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMS(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS BOLUS", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_bolus), replyText)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -858,12 +858,12 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
var replyText = String.format(resourceHelper.gs(R.string.smscommunicator_carbsset), anInteger)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS CARBS", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_carbs), replyText)
|
||||
} else {
|
||||
var replyText = resourceHelper.gs(R.string.smscommunicator_carbsfailed)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMS(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS CARBS", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_carbs), replyText)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -872,7 +872,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
var replyText = String.format(resourceHelper.gs(R.string.smscommunicator_carbsset), anInteger)
|
||||
replyText += "\n" + activePlugin.activePump.shortStatus(true)
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS CARBS", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_carbs), replyText)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -937,7 +937,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
val ttString = if (units == Constants.MMOL) DecimalFormatter.to1Decimal(tt) else DecimalFormatter.to0Decimal(tt)
|
||||
val replyText = String.format(resourceHelper.gs(R.string.smscommunicator_tt_set), ttString, ttDuration)
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS TARGET", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_target), replyText)
|
||||
}
|
||||
})
|
||||
} else if (isStop) {
|
||||
|
@ -955,7 +955,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
activePlugin.activeTreatments.addToHistoryTempTarget(tempTarget)
|
||||
val replyText = String.format(resourceHelper.gs(R.string.smscommunicator_tt_canceled))
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS TARGET", reply)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_target), reply)
|
||||
}
|
||||
})
|
||||
} else
|
||||
|
@ -974,7 +974,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
sp.putBoolean(R.string.key_smscommunicator_remotecommandsallowed, false)
|
||||
val replyText = String.format(resourceHelper.gs(R.string.smscommunicator_stoppedsms))
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS SMS", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_sms), replyText)
|
||||
}
|
||||
})
|
||||
} else sendSMS(Sms(receivedSms.phoneNumber, resourceHelper.gs(R.string.wrongformat)))
|
||||
|
@ -992,7 +992,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
|||
val replyText =
|
||||
if (result) resourceHelper.gs(R.string.smscommunicator_calibrationsent) else resourceHelper.gs(R.string.smscommunicator_calibrationfailed)
|
||||
sendSMSToAllNumbers(Sms(receivedSms.phoneNumber, replyText))
|
||||
uel.log("SMS CAL", replyText)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_sms_cal), replyText)
|
||||
}
|
||||
})
|
||||
} else sendSMS(Sms(receivedSms.phoneNumber, resourceHelper.gs(R.string.wrongformat)))
|
||||
|
|
|
@ -72,7 +72,7 @@ class SmsCommunicatorOtpActivity : NoSplashAppCompatActivity() {
|
|||
resourceHelper.gs(R.string.smscommunicator_otp_reset_title),
|
||||
resourceHelper.gs(R.string.smscommunicator_otp_reset_prompt),
|
||||
Runnable {
|
||||
uel.log("OTP RESET")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_otp_reset))
|
||||
otp.ensureKey(true)
|
||||
updateGui()
|
||||
ToastUtils.Long.infoToast(this, resourceHelper.gs(R.string.smscommunicator_otp_reset_successful))
|
||||
|
@ -88,7 +88,7 @@ class SmsCommunicatorOtpActivity : NoSplashAppCompatActivity() {
|
|||
val clip = ClipData.newPlainText("OTP Secret", otp.provisioningSecret())
|
||||
clipboard.primaryClip = clip
|
||||
ToastUtils.Long.infoToast(this, resourceHelper.gs(R.string.smscommunicator_otp_export_successful))
|
||||
uel.log("OTP EXPORT")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_otp_export))
|
||||
})
|
||||
|
||||
true
|
||||
|
|
|
@ -162,7 +162,7 @@ class LocalProfileFragment : DaggerFragment() {
|
|||
if (localProfilePlugin.isEdited) {
|
||||
activity?.let { OKDialog.show(it, "", resourceHelper.gs(R.string.saveorresetchangesfirst)) }
|
||||
} else {
|
||||
uel.log("NEW PROFILE")
|
||||
uel.log(resourceHelper.gs(R.string.key_new_profile))
|
||||
localProfilePlugin.addNewProfile()
|
||||
build()
|
||||
}
|
||||
|
@ -172,7 +172,7 @@ class LocalProfileFragment : DaggerFragment() {
|
|||
if (localProfilePlugin.isEdited) {
|
||||
activity?.let { OKDialog.show(it, "", resourceHelper.gs(R.string.saveorresetchangesfirst)) }
|
||||
} else {
|
||||
uel.log("CLONE PROFILE", localProfilePlugin.currentProfile()?.name ?: "")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_clone_profile), localProfilePlugin.currentProfile()?.name ?: "")
|
||||
localProfilePlugin.cloneProfile()
|
||||
build()
|
||||
}
|
||||
|
@ -181,7 +181,7 @@ class LocalProfileFragment : DaggerFragment() {
|
|||
binding.profileRemove.setOnClickListener {
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.deletecurrentprofile), {
|
||||
uel.log("REMOVE PROFILE", localProfilePlugin.currentProfile()?.name ?: "")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_remove_profile), localProfilePlugin.currentProfile()?.name ?: "")
|
||||
localProfilePlugin.removeCurrentProfile()
|
||||
build()
|
||||
}, null)
|
||||
|
|
|
@ -115,7 +115,7 @@ class LocalProfilePlugin @Inject constructor(
|
|||
createAndStoreConvertedProfile()
|
||||
isEdited = false
|
||||
aapsLogger.debug(LTag.PROFILE, "Storing settings: " + rawProfile?.data.toString())
|
||||
uel.log("STORE PROFILE")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_store_profile))
|
||||
rxBus.send(EventProfileStoreChanged())
|
||||
var namesOK = true
|
||||
profiles.forEach {
|
||||
|
|
|
@ -61,7 +61,7 @@ class NSProfileFragment : DaggerFragment() {
|
|||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.nsprofile),
|
||||
resourceHelper.gs(R.string.activate_profile) + ": " + name + " ?", Runnable {
|
||||
uel.log("PROFILE SWITCH", name, i1 = 100)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_profile_switch), name, i1 = 100)
|
||||
treatmentsPlugin.doProfileSwitch(store, name, 0, 100, 0, DateUtil.now())
|
||||
})
|
||||
}
|
||||
|
|
|
@ -128,7 +128,7 @@ class BGSourceFragment : DaggerFragment() {
|
|||
activity?.let { activity ->
|
||||
val text = dateUtil.dateAndTimeString(glucoseValue.timestamp) + "\n" + glucoseValue.valueToUnitsString(profileFunction.getUnits())
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.removerecord), text, Runnable {
|
||||
uel.log("BG REMOVED", dateUtil.dateAndTimeString(glucoseValue.timestamp))
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_bg_removed), dateUtil.dateAndTimeString(glucoseValue.timestamp))
|
||||
disposable += repository.runTransaction(InvalidateGlucoseValueTransaction(glucoseValue.id)).subscribe()
|
||||
})
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ class TreatmentsBolusFragment : DaggerFragment() {
|
|||
binding.refreshFromNightscout.setOnClickListener {
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.refresheventsfromnightscout) + "?") {
|
||||
uel.log("TREAT NS REFRESH")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_treat_ns_refresh))
|
||||
treatmentsPlugin.service.resetTreatments()
|
||||
rxBus.send(EventNSClientRestart())
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ class TreatmentsBolusFragment : DaggerFragment() {
|
|||
binding.deleteFutureTreatments.setOnClickListener {
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.overview_treatment_label), resourceHelper.gs(R.string.deletefuturetreatments) + "?", Runnable {
|
||||
uel.log("DELETE FUTURE TREATMENTS")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_delete_future_treatments))
|
||||
val futureTreatments = treatmentsPlugin.service.getTreatmentDataFromTime(DateUtil.now() + 1000, true)
|
||||
for (treatment in futureTreatments) {
|
||||
if (NSUpload.isIdValid(treatment._id))
|
||||
|
@ -174,7 +174,7 @@ class TreatmentsBolusFragment : DaggerFragment() {
|
|||
resourceHelper.gs(R.string.carbs) + ": " + resourceHelper.gs(R.string.format_carbs, treatment.carbs.toInt()) + "\n" +
|
||||
resourceHelper.gs(R.string.date) + ": " + dateUtil.dateAndTimeString(treatment.date)
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.removerecord), text, Runnable {
|
||||
uel.log("REMOVED TREATMENT", text)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_removed_treatment), text)
|
||||
if (treatment.source == Source.PUMP) {
|
||||
treatment.isValid = false
|
||||
treatmentsPlugin.service.update(treatment)
|
||||
|
|
|
@ -64,7 +64,7 @@ class TreatmentsCareportalFragment : DaggerFragment() {
|
|||
binding.refreshFromNightscout.setOnClickListener {
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.careportal), resourceHelper.gs(R.string.refresheventsfromnightscout) + " ?", Runnable {
|
||||
uel.log("CAREPORTAL NS REFRESH")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_careportal_ns_refresh))
|
||||
MainApp.getDbHelper().resetCareportalEvents()
|
||||
rxBus.send(EventNSClientRestart())
|
||||
})
|
||||
|
@ -73,7 +73,7 @@ class TreatmentsCareportalFragment : DaggerFragment() {
|
|||
binding.removeAndroidapsStartedEvents.setOnClickListener {
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.careportal), resourceHelper.gs(R.string.careportal_removestartedevents), Runnable {
|
||||
uel.log("REMOVED RESTART EVENTS")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_removed_restart_events))
|
||||
val events = MainApp.getDbHelper().getCareportalEvents(false)
|
||||
for (i in events.indices) {
|
||||
val careportalEvent = events[i]
|
||||
|
@ -154,7 +154,7 @@ class TreatmentsCareportalFragment : DaggerFragment() {
|
|||
resourceHelper.gs(R.string.careportal_newnstreatment_notes_label) + ": " + careportalEvent.notes + "\n" +
|
||||
resourceHelper.gs(R.string.date) + ": " + dateUtil.dateAndTimeString(careportalEvent.date)
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.removerecord), text, Runnable {
|
||||
uel.log("REMOVED CAREP", text)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_removed_carep), text)
|
||||
if (NSUpload.isIdValid(careportalEvent._id))
|
||||
nsUpload.removeCareportalEntryFromNS(careportalEvent._id)
|
||||
else
|
||||
|
|
|
@ -121,7 +121,7 @@ class TreatmentsExtendedBolusesFragment : DaggerFragment() {
|
|||
${resourceHelper.gs(R.string.extended_bolus)}
|
||||
${resourceHelper.gs(R.string.date)}: ${dateUtil.dateAndTimeString(extendedBolus.date)}
|
||||
""".trimIndent(), { _: DialogInterface, _: Int ->
|
||||
uel.log("REMOVED EB")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_removed_eb))
|
||||
val id = extendedBolus._id
|
||||
if (NSUpload.isIdValid(id)) nsUpload.removeCareportalEntryFromNS(id)
|
||||
else uploadQueue.removeID("dbAdd", id)
|
||||
|
|
|
@ -69,7 +69,7 @@ class TreatmentsProfileSwitchFragment : DaggerFragment() {
|
|||
|
||||
binding.refreshFromNightscout.setOnClickListener {
|
||||
activity?.let { activity ->
|
||||
uel.log("PROFILE SWITCH NS REFRESH")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_profile_switch_ns_refresh))
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.refresheventsfromnightscout) + "?") {
|
||||
MainApp.getDbHelper().resetProfileSwitch()
|
||||
rxBus.send(EventNSClientRestart())
|
||||
|
@ -146,7 +146,7 @@ class TreatmentsProfileSwitchFragment : DaggerFragment() {
|
|||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.removerecord),
|
||||
resourceHelper.gs(R.string.careportal_profileswitch) + ": " + profileSwitch.profileName +
|
||||
"\n" + resourceHelper.gs(R.string.date) + ": " + dateUtil.dateAndTimeString(profileSwitch.date), Runnable {
|
||||
uel.log("REMOVED PROFILE SWITCH", profileSwitch.profileName + " " + dateUtil.dateAndTimeString(profileSwitch.date))
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_removed_profile_switch), profileSwitch.profileName + " " + dateUtil.dateAndTimeString(profileSwitch.date))
|
||||
val id = profileSwitch._id
|
||||
if (NSUpload.isIdValid(id)) nsUpload.removeCareportalEntryFromNS(id)
|
||||
else uploadQueue.removeID("dbAdd", id)
|
||||
|
@ -159,7 +159,7 @@ class TreatmentsProfileSwitchFragment : DaggerFragment() {
|
|||
val profileSwitch = it.tag as ProfileSwitch
|
||||
OKDialog.showConfirmation(activity, resourceHelper.gs(R.string.careportal_profileswitch), resourceHelper.gs(R.string.copytolocalprofile) + "\n" + profileSwitch.customizedName + "\n" + dateUtil.dateAndTimeString(profileSwitch.date), Runnable {
|
||||
profileSwitch.profileObject?.let {
|
||||
uel.log("PROFILE SWITCH CLONE", profileSwitch.profileName + " " + dateUtil.dateAndTimeString(profileSwitch.date))
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_profile_switch_clone), profileSwitch.profileName + " " + dateUtil.dateAndTimeString(profileSwitch.date))
|
||||
val nonCustomized = it.convertToNonCustomizedProfile()
|
||||
if (nonCustomized.isValid(resourceHelper.gs(R.string.careportal_profileswitch, false))) {
|
||||
localProfilePlugin.addProfile(localProfilePlugin.copyFrom(nonCustomized, profileSwitch.customizedName + " " + dateUtil.dateAndTimeString(profileSwitch.date).replace(".", "_")))
|
||||
|
|
|
@ -69,7 +69,7 @@ class TreatmentsTempTargetFragment : DaggerFragment() {
|
|||
binding.refreshFromNightscout.setOnClickListener {
|
||||
context?.let { context ->
|
||||
OKDialog.showConfirmation(context, resourceHelper.gs(R.string.refresheventsfromnightscout) + " ?", {
|
||||
uel.log("TT NS REFRESH")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_tt_ns_refresh))
|
||||
MainApp.getDbHelper().resetTempTargets()
|
||||
rxBus.send(EventNSClientRestart())
|
||||
})
|
||||
|
@ -161,7 +161,7 @@ class TreatmentsTempTargetFragment : DaggerFragment() {
|
|||
${dateUtil.dateAndTimeString(tempTarget.date)}
|
||||
""".trimIndent(),
|
||||
{ _: DialogInterface?, _: Int ->
|
||||
uel.log("TT REMOVE", tempTarget.friendlyDescription(profileFunction.getUnits(), resourceHelper))
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_tt_remove), tempTarget.friendlyDescription(profileFunction.getUnits(), resourceHelper))
|
||||
val id = tempTarget._id
|
||||
if (NSUpload.isIdValid(id)) nsUpload.removeCareportalEntryFromNS(id)
|
||||
else uploadQueue.removeID("dbAdd", id)
|
||||
|
|
|
@ -163,7 +163,7 @@ class TreatmentsTemporaryBasalsFragment : DaggerFragment() {
|
|||
${resourceHelper.gs(R.string.date)}: ${dateUtil.dateAndTimeString(tempBasal.date)}
|
||||
""".trimIndent(),
|
||||
{ _: DialogInterface?, _: Int ->
|
||||
uel.log("REMOVED TT", dateUtil.dateAndTimeString(tempBasal.date))
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_removed_tt), dateUtil.dateAndTimeString(tempBasal.date))
|
||||
activePlugin.activeTreatments.removeTempBasal(tempBasal)
|
||||
}, null)
|
||||
}
|
||||
|
|
|
@ -346,7 +346,7 @@ class BolusWizard @Inject constructor(
|
|||
boluscalc = nsJSON()
|
||||
source = Source.USER
|
||||
notes = this@BolusWizard.notes
|
||||
uel.log("BOLUS ADVISOR", d1 = insulinAfterConstraints)
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_bolus_advisor), d1 = insulinAfterConstraints)
|
||||
if (insulin > 0) {
|
||||
commandQueue.bolus(this, object : Callback() {
|
||||
override fun run() {
|
||||
|
@ -369,7 +369,7 @@ class BolusWizard @Inject constructor(
|
|||
OKDialog.showConfirmation(ctx, resourceHelper.gs(R.string.boluswizard), confirmMessage, {
|
||||
if (insulinAfterConstraints > 0 || carbs > 0) {
|
||||
if (useSuperBolus) {
|
||||
uel.log("SUPERBOLUS TBR")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_superbolus_tbr))
|
||||
if (loopPlugin.isEnabled(PluginType.LOOP)) {
|
||||
loopPlugin.superBolusTo(System.currentTimeMillis() + 2 * 60L * 60 * 1000)
|
||||
rxBus.send(EventRefreshOverview("WizardDialog"))
|
||||
|
|
|
@ -1382,4 +1382,90 @@
|
|||
<string name="userentry">User entry</string>
|
||||
<string name="common_values">Use values of your largest food you usually eat\n</string>
|
||||
|
||||
<string name="key_uel_stat_reset" translatable="false">STATS RESET</string>
|
||||
<string name="key_uel_calibration" translatable="false">CALIBRATION</string>
|
||||
<string name="key_uel_tt_activity" translatable="false">TT ACTIVITY</string>
|
||||
<string name="key_uel_tt_eating_soon" translatable="false">TT EATING SOON</string>
|
||||
<string name="key_uel_tt_hypo" translatable="false">TT HYPO</string>
|
||||
<string name="key_uel_carb" translatable="false">CARBS</string>
|
||||
<string name="key_uel_careportal" translatable="false">CAREPORTAL</string>
|
||||
<string name="key_uel_extended_bolus" translatable="false">EXTENDED BOLUS</string>
|
||||
<string name="key_uel_prime_bolus" translatable="false">PRIME BOLUS</string>
|
||||
<string name="key_uel_site_change" translatable="false">SITE CHANGE</string>
|
||||
<string name="key_uel_insulin_change" translatable="false">INSULIN CHANGE</string>
|
||||
<string name="key_uel_bolus_record" translatable="false">BOLUS RECORD</string>
|
||||
<string name="key_uel_bolus" translatable="false">BOLUS</string>
|
||||
<string name="key_uel_closed_loop_mode" translatable="false">CLOSED LOOP MODE</string>
|
||||
<string name="key_uel_lgs_loop_mode" translatable="false">LGS LOOP MODE</string>
|
||||
<string name="key_uel_open_loop_mode" translatable="false">OPEN LOOP MODE</string>
|
||||
<string name="key_uel_loop_disabled" translatable="false">LOOP DISABLED</string>
|
||||
<string name="key_uel_loop_enabled" translatable="false">LOOP ENABLED</string>
|
||||
<string name="key_uel_resume" translatable="false">RESUME</string>
|
||||
<string name="key_uel_reconnect" translatable="false">RECONNECT</string>
|
||||
<string name="key_uel_suspend_1h" translatable="false">SUSPEND 1h</string>
|
||||
<string name="key_uel_suspend_2h" translatable="false">SUSPEND 2h</string>
|
||||
<string name="key_uel_suspend_3h" translatable="false">SUSPEND 3h</string>
|
||||
<string name="key_uel_suspend_10h" translatable="false">SUSPEND 10h</string>
|
||||
<string name="key_uel_disconnect_15m" translatable="false">DISCONNECT 15m</string>
|
||||
<string name="key_uel_disconnect_30m" translatable="false">DISCONNECT 30m</string>
|
||||
<string name="key_uel_disconnect_1h" translatable="false">DISCONNECT 1h</string>
|
||||
<string name="key_uel_disconnect_2h" translatable="false">DISCONNECT 2h</string>
|
||||
<string name="key_uel_disconnect_3h" translatable="false">DISCONNECT 3h</string>
|
||||
<string name="key_uel_profile_switch" translatable="false">PROFILE SWITCH</string>
|
||||
<string name="key_uel_temp_basal" translatable="false">TEMP BASAL</string>
|
||||
<string name="key_uel_tt" translatable="false">TT</string>
|
||||
<string name="key_uel_treatment" translatable="false">TREATMENT</string>
|
||||
<string name="key_uel_objective_unstarted" translatable="false">OBJECTIVE UNSTARTED</string>
|
||||
<string name="key_uel_cancel_extended_bolus" translatable="false">CANCEL EXTENDED BOLUS</string>
|
||||
<string name="key_uel_cancel_temp_basal" translatable="false">CANCEL TEMP BASAL</string>
|
||||
<string name="key_uel_autom_removed" translatable="false">AUTOM REMOVED</string>
|
||||
<string name="key_uel_food_removed" translatable="false">FOOD REMOVED</string>
|
||||
<string name="key_uel_delete_logs" translatable="false">DELETE LOGS</string>
|
||||
<string name="key_uel_reset_databases" translatable="false">RESET DATABASES</string>
|
||||
<string name="key_uel_export_settings" translatable="false">EXPORT SETTINGS</string>
|
||||
<string name="key_uel_import_settings" translatable="false">IMPORT SETTINGS</string>
|
||||
<string name="key_uel_accepts_temp_basal" translatable="false">ACCEPT TEMP BASAL</string>
|
||||
<string name="key_uel_otp_reset" translatable="false">OTP RESET</string>
|
||||
<string name="key_uel_otp_export" translatable="false">OTP EXPORT</string>
|
||||
<string name="key_new_profile" translatable="false">NEW PROFILE</string>
|
||||
<string name="key_uel_clone_profile" translatable="false">CLONE PROFILE</string>
|
||||
<string name="key_uel_remove_profile" translatable="false">REMOVE PROFILE</string>
|
||||
<string name="key_uel_bg_removed" translatable="false">BG REMOVED</string>
|
||||
<string name="key_uel_treat_ns_refresh" translatable="false">TREAT NS REFRESH</string>
|
||||
<string name="key_uel_delete_future_treatments" translatable="false">DELETE FUTURE TREATMENTS</string>
|
||||
<string name="key_uel_removed_treatment" translatable="false">REMOVED TREATMENT</string>
|
||||
<string name="key_uel_careportal_ns_refresh" translatable="false">CAREPORTAL NS REFRESH</string>
|
||||
<string name="key_uel_removed_restart_events" translatable="false">REMOVED RESTART EVENTS</string>
|
||||
<string name="key_uel_removed_carep" translatable="false">REMOVED CAREP</string>
|
||||
<string name="key_uel_removed_eb" translatable="false">REMOVED EB</string>
|
||||
<string name="key_uel_profile_switch_ns_refresh" translatable="false">PROFILE SWITCH NS REFRESH</string>
|
||||
<string name="key_uel_removed_profile_switch" translatable="false">REMOVED PROFILE SWITCH</string>
|
||||
<string name="key_uel_profile_switch_clone" translatable="false">PROFILE SWITCH CLONE</string>
|
||||
<string name="key_uel_removed_tt" translatable="false">REMOVED TT</string>
|
||||
<string name="key_uel_tt_ns_refresh" translatable="false">TT NS REFRESH</string>
|
||||
<string name="key_uel_tt_remove" translatable="false">TT REMOVE</string>
|
||||
<string name="key_uel_bolus_advisor" translatable="false">BOLUS ADVISOR</string>
|
||||
<string name="key_uel_superbolus_tbr" translatable="false">SUPERBOLUS TBR</string>
|
||||
<string name="key_uel_ns_queue_cleared" translatable="false">NS QUEUE CLEARED</string>
|
||||
<string name="key_uel_ns_paused" translatable="false">NS PAUSED</string>
|
||||
<string name="key_uel_hw_pump_allowed" translatable="false">HW PUMP ALLOWED</string>
|
||||
<string name="key_uel_objectives_skipped" translatable="false">OBJECTIVES SKIPPED</string>
|
||||
<string name="key_uel_import" translatable="false">IMPORT</string>
|
||||
<string name="key_uel_ns_settings_copied" translatable="false">NS SETTINGS COPIED</string>
|
||||
<string name="key_uel_sms_loop_disable" translatable="false">SMS LOOP DISABLE</string>
|
||||
<string name="key_uel_sms_loop_enable" translatable="false">SMS LOOP ENABLE</string>
|
||||
<string name="key_uel_sms_loop_resume" translatable="false">SMS LOOP RESUME</string>
|
||||
<string name="key_uel_sms_loop_suspend" translatable="false">SMS LOOP SUSPEND</string>
|
||||
<string name="key_uel_sms_pump_connect" translatable="false">SMS PUMP CONNECT</string>
|
||||
<string name="key_uel_sms_pump_disconnect" translatable="false">SMS PUMP DISCONNECT</string>
|
||||
<string name="key_uel_sms_profile" translatable="false">SMS PROFILE</string>
|
||||
<string name="key_uel_sms_basal" translatable="false">SMS BASAL</string>
|
||||
<string name="key_uel_sms_extended" translatable="false">SMS EXTENDED</string>
|
||||
<string name="key_uel_sms_bolus" translatable="false">SMS BOLUS</string>
|
||||
<string name="key_uel_sms_carbs" translatable="false">SMS CARBS</string>
|
||||
<string name="key_uel_sms_target" translatable="false">SMS TARGET</string>
|
||||
<string name="key_uel_sms_sms" translatable="false">SMS SMS</string>
|
||||
<string name="key_uel_sms_cal" translatable="false">SMS CAL</string>
|
||||
<string name="key_uel_store_profile" translatable="false">STORE PROFILE</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -15,12 +15,14 @@ import info.nightscout.androidaps.logging.AAPSLogger
|
|||
import info.nightscout.androidaps.logging.UserEntryLogger
|
||||
import info.nightscout.androidaps.services.AlarmSoundServiceHelper
|
||||
import info.nightscout.androidaps.utils.T
|
||||
import info.nightscout.androidaps.utils.resources.ResourceHelper
|
||||
import javax.inject.Inject
|
||||
|
||||
class ErrorDialog : DaggerDialogFragment() {
|
||||
|
||||
@Inject lateinit var alarmSoundServiceHelper: AlarmSoundServiceHelper
|
||||
@Inject lateinit var aapsLogger: AAPSLogger
|
||||
@Inject lateinit var resourceHelper: ResourceHelper
|
||||
@Inject lateinit var uel: UserEntryLogger
|
||||
|
||||
var helperActivity: ErrorHelperActivity? = null
|
||||
|
@ -58,15 +60,15 @@ class ErrorDialog : DaggerDialogFragment() {
|
|||
|
||||
binding.title.text = title
|
||||
binding.ok.setOnClickListener {
|
||||
uel.log("Error dialog ok button pressed")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_error_dialog_ok))
|
||||
dismiss()
|
||||
}
|
||||
binding.mute.setOnClickListener {
|
||||
uel.log("Error dialog mute button pressed")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_error_dialog_mute))
|
||||
stopAlarm()
|
||||
}
|
||||
binding.mute5min.setOnClickListener {
|
||||
uel.log("Error dialog mute 5 min button pressed")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_error_dialog_mute_5min))
|
||||
stopAlarm()
|
||||
loopHandler.postDelayed(this::startAlarm, T.mins(5).msecs())
|
||||
}
|
||||
|
|
|
@ -30,8 +30,14 @@
|
|||
<string name="key_virtualpump_type" translatable="false">virtualpump_type</string>
|
||||
<string name="key_quickwizard" translatable="false">QuickWizard</string>
|
||||
<string name="key_wear_control" translatable="false">wearcontrol</string>
|
||||
<string name="key_uel_error_dialog_ok" translatable="false">ERROR DIALOG OK</string>
|
||||
<string name="key_uel_error_dialog_mute" translatable="false">ERROR DIALOG MUTE</string>
|
||||
<string name="key_uel_error_dialog_mute_5min" translatable="false">ERROR DIALOG MUTE 5MIN</string>
|
||||
|
||||
<!-- General-->
|
||||
<string name="uel_Error_dialog_ok">Error dialog ok pressed</string>
|
||||
<string name="uel_Error_dialog_mute">Error dialog mute pressed</string>
|
||||
<string name="uel_Error_dialog_mute_5min">Error dialog mute 5 min pressed</string>
|
||||
<string name="refresh">Refresh</string>
|
||||
<string name="error">Error</string>
|
||||
<string name="not_set_short">Not set</string>
|
||||
|
|
|
@ -108,7 +108,7 @@ class DanaFragment : DaggerFragment() {
|
|||
binding.btconnection.setOnLongClickListener {
|
||||
activity?.let {
|
||||
OKDialog.showConfirmation(it, resourceHelper.gs(R.string.resetpairing)) {
|
||||
uel.log("CLEAR PAIRING KEYS")
|
||||
uel.log(resourceHelper.gs(R.string.key_uel_clear_pairing_keys))
|
||||
(activePlugin.activePump as DanaPumpInterface).clearPairing()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<string name="key_rs_loginsulinchange" translatable="false">rs_loginsulinchange</string>
|
||||
<string name="key_rs_last_clear_key_request" translatable="false">rs_last_clear_key_request</string>
|
||||
<string name="key_danar_bt_name" translatable="false">danar_bt_name</string>
|
||||
<string name="key_uel_clear_pairing_keys" translatable="false">CLEAR PAIRING KEYS</string>
|
||||
|
||||
<string name="danars_pairing">Pairing</string>
|
||||
<string name="danars_nodeviceavailable">No device found so far</string>
|
||||
|
|
Loading…
Reference in a new issue