java - Action TIME_SET in android getting called many times without changing the time manually -
i have receiver listens time_set action android.
but times getting intent action without changing time (random issue)
please me in solving 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 had same issue. appears if device has "use network provided time" checked device periodically update time. seems if time updated smallest of time corrections time_set broadcast happen... wish there threshold parameter checked/used these minor time corrections broadcast, or there different broadcast when user explicitly changed time versus device correcting itself.
Comments
Post a Comment