Back to project page Tacere.
The source code is released under:
MIT License
If you think the Android project Tacere listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (c) 2014 Jonathan Nelson//w w w .j a v a2s . c o m * Released under the BSD license. For details see the COPYING file. */ package org.ciasaboark.tacere.receiver; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import org.ciasaboark.tacere.manager.AlarmManagerWrapper; import org.ciasaboark.tacere.service.RequestTypes; public class ProviderChangedReceiver extends BroadcastReceiver { private static final String TAG = "ProviderChangedReceiver"; @Override public void onReceive(Context context, Intent intent) { Log.d(TAG, "received broadcast intent, waking service"); AlarmManagerWrapper alarmManagerWrapper = new AlarmManagerWrapper(context); alarmManagerWrapper.scheduleImmediateAlarm(RequestTypes.PROVIDER_CHANGED); } }