Back to project page umbrella.alert.
The source code is released under:
GNU General Public License
If you think the Android project umbrella.alert 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 macbury.umbrella.receiver; //from w w w . jav a2s . c o m import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import macbury.umbrella.UmbrellaApplication; public class DissmisedTakeUmbrellaNotificationReceiver extends BroadcastReceiver { private static final String TAG = "DissmisedTakeUmbrellaNotificationReceiver"; public DissmisedTakeUmbrellaNotificationReceiver() { } @Override public void onReceive(Context context, Intent intent) { Log.d(TAG, "Dismissed take umbrella notification"); UmbrellaApplication app = (UmbrellaApplication)context.getApplicationContext(); app.store.setUmbrellaNotificationDismissed(true); } }