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; // w w w. j a v a 2s . co m import android.content.Context; import android.content.Intent; public class OnlyAlertReceiveHandler extends BaseReceiveHandler { public OnlyAlertReceiveHandler() { super(); } public OnlyAlertReceiveHandler(DefaultReceiveHandler.Callback callback) { this(); setCallback(callback); } @Override public void onReceive(Context context, Intent intent) { super.onReceive(context, intent); showAlert(context, intent); } }