Back to project page growthpush-android.
The source code is released under:
Apache License
If you think the Android project growthpush-android 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 com.growthpush.handler; /*from w w w . j a va 2 s . c o m*/ import android.content.Context; import android.content.Intent; public class OnlyNotificationReceiveHandler extends BaseReceiveHandler { public OnlyNotificationReceiveHandler() { super(); } public OnlyNotificationReceiveHandler(DefaultReceiveHandler.Callback callback) { this(); setCallback(callback); } @Override public void onReceive(Context context, Intent intent) { super.onReceive(context, intent); addNotification(context, intent); } }