Withdraw connection request when deleting pairing
This commit is contained in:
parent
53f7cf0dcf
commit
5475d9bceb
2 changed files with 8 additions and 0 deletions
|
@ -1424,6 +1424,7 @@ public class LocalInsightPlugin extends PluginBase implements PumpInterface, Con
|
||||||
public void stateChanged(InsightState state) {
|
public void stateChanged(InsightState state) {
|
||||||
if (state == InsightState.CONNECTED) statusLoaded = false;
|
if (state == InsightState.CONNECTED) statusLoaded = false;
|
||||||
else if (state == InsightState.NOT_PAIRED) {
|
else if (state == InsightState.NOT_PAIRED) {
|
||||||
|
connectionService.withdrawConnectionRequest(this);
|
||||||
statusLoaded = false;
|
statusLoaded = false;
|
||||||
profileBlocks = null;
|
profileBlocks = null;
|
||||||
operatingMode = null;
|
operatingMode = null;
|
||||||
|
|
|
@ -1266,6 +1266,13 @@
|
||||||
<string name="refresh">Refresh</string>
|
<string name="refresh">Refresh</string>
|
||||||
<string name="description_pump_insight_local">Pump integration for Accu-Chek Insight pumps</string>
|
<string name="description_pump_insight_local">Pump integration for Accu-Chek Insight pumps</string>
|
||||||
<string name="not_inserted">Not inserted</string>
|
<string name="not_inserted">Not inserted</string>
|
||||||
|
<string name="short_status_last_connected">Last conn: %1$d min ago</string>
|
||||||
|
<string name="short_status_tbr">TBR: %1$d%% for %2$d / %3$d min</string>
|
||||||
|
<string name="short_status_extended">Extended: %1$.2f / %2$.2f U for %3$d min</string>
|
||||||
|
<string name="short_status_multiwave">Extended: %1$.2f / %2$.2f U for %3$d min</string>
|
||||||
|
<string name="short_status_tdd">TDD: %1$.2f</string>
|
||||||
|
<string name="short_status_reservoir">Reser.: %1$.2fU</string>
|
||||||
|
<string name="short_status_battery">Batt.: %1$d%%</string>
|
||||||
|
|
||||||
<plurals name="objective_days">
|
<plurals name="objective_days">
|
||||||
<item quantity="one">%1$d day</item>
|
<item quantity="one">%1$d day</item>
|
||||||
|
|
Loading…
Reference in a new issue