Back to project page berlinclock-android-widget.
The source code is released under:
MIT License
If you think the Android project berlinclock-android-widget listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package ch.crisi.berlinclock_widget; //from w ww.j av a2 s . co m import android.app.Service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class TimeActionsReceiver extends BroadcastReceiver { private Service service; public TimeActionsReceiver(Service service) { this.service = service; } @Override public void onReceive(Context context, Intent intent) { ((UpdateService) service).update(); } }