I have a receiver which listens to the TIME_SET action android.
but some times am getting intent action without changing the time (random issue)
please help me in solving this issue
Thanks in advance. code
<receiver
android:name=".tamperprooftime.TimeChangedReceiver"
android:exported="false" >
<intent-filter>
<action android:name="android.intent.action.TIME_SET" />
<action android:name="android.intent.action.TIMEZONE_CHANGED" />
</intent-filter>
</receiver>
I also had this same issue. It appears that if your device has the "Use network provided time" checked the device will periodically update the time. It seems like if the time is updated even for the smallest of time corrections the TIME_SET broadcast will happen... I wish that there was some threshold parameter that could be checked/used so that these minor time corrections are broadcast, or that there was a different broadcast for when the user explicitly changed the time versus the device was correcting itself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With