Just wondering if the those two intents are working as intended?

>From my testing I'm getting that, DATE_CHANGED only broadcasts if the
system date is changed to some time in the future? It never seems to
broadcast if I set the date to the past (in Date & time settings). Is
the correct? If so, the name is misleading, DATE_CHANGED implies this
will broadcast with any change to the date, in units of days or
greater. Especially when seen along side TIME_CHANGED, these appear to
be split purposefully but they are not. As TIME_CHANGED broadcasts
with any time or date change, even if DATE_CHANGED is broadcast. (in
Date & time settings).

Also the TIME_CHANGED constant is "android.intent.action.TIME_SET",
which is correct, as this only broadcasts when it is user set, just a
bit confusing when it's called Intent.TIME_CHANGED, instead of
Intent.TIME_SET.

If these are working as intended, that is fine, I can simply use
Intent.TIME_CHANGED for my needs but this does not seem right, is it
changing in the future? Or is DATE_CHANGED simply a convenience only
for people who want to know of time passing forward and TIME_CHANGED
is for an arbitrary change?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to