My watch face connects to a web server to request data. To save on calls and battery, it does it every hour.
I have it set to use GPS for the last activity, to determine location. Also, user can change manually the location in settings.
Problem is that if the settings are changed (or location changed in general), nothing happens until the next interval event comes, up to one hour.
I request the update on onSettingsChanged(), but it does not trigger the background process. If it does, I risk to run into the error of having it run prior to the minimum 5min interval.
Is there any workaround?
I tried the guide's sample using getLastTemporalEventTime(), but it does not seem to work.