mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-06-20 13:28:37 +00:00
Compare commits
3 Commits
v2.15
...
163-applic
Author | SHA1 | Date | |
---|---|---|---|
51081ee2e6 | |||
7c7130367f | |||
42d1a7233c |
@ -28,3 +28,4 @@
|
|||||||
| 2.13 | Moved the template status queries to Webhooks in order to fix the situation where an account is a non-privileged user. Added telemetry update on activity completion to make automations more timely at the end of an activity. When using a polling delay, there is no longer a startup delay for status updates and an action will trigger an immediate round of updates. |
|
| 2.13 | Moved the template status queries to Webhooks in order to fix the situation where an account is a non-privileged user. Added telemetry update on activity completion to make automations more timely at the end of an activity. When using a polling delay, there is no longer a startup delay for status updates and an action will trigger an immediate round of updates. |
|
||||||
| 2.14 | Cautionary bug fix for the background service code where refactorisation spoilt some API level guard clauses. |
|
| 2.14 | Cautionary bug fix for the background service code where refactorisation spoilt some API level guard clauses. |
|
||||||
| 2.15 | Better support for templates by isolating erroneous returns and marking the menu item. |
|
| 2.15 | Better support for templates by isolating erroneous returns and marking the menu item. |
|
||||||
|
| 2.16 | Bug fix for lack of phone connection when starting the application. |
|
||||||
|
@ -70,6 +70,7 @@ class Settings {
|
|||||||
// Manage this inside the application or widget only (not a glance or background service process)
|
// Manage this inside the application or widget only (not a glance or background service process)
|
||||||
if (mIsApp) {
|
if (mIsApp) {
|
||||||
if (mHasService) {
|
if (mHasService) {
|
||||||
|
if (System.getDeviceSettings().phoneConnected) {
|
||||||
mWebhookManager = new WebhookManager();
|
mWebhookManager = new WebhookManager();
|
||||||
if (getWebhookId().equals("")) {
|
if (getWebhookId().equals("")) {
|
||||||
// System.println("Settings update(): Doing full webhook & sensor creation.");
|
// System.println("Settings update(): Doing full webhook & sensor creation.");
|
||||||
@ -101,6 +102,9 @@ class Settings {
|
|||||||
Background.deleteTemporalEvent();
|
Background.deleteTemporalEvent();
|
||||||
Background.deleteActivityCompletedEvent();
|
Background.deleteActivityCompletedEvent();
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// Explicitly disable the background event which persists when the application closes.
|
// Explicitly disable the background event which persists when the application closes.
|
||||||
// If !mHasService disable the Settings option as user feedback
|
// If !mHasService disable the Settings option as user feedback
|
||||||
|
Reference in New Issue
Block a user