mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-09 23:41:08 +01:00
Add Log facility
This commit is contained in:
parent
158c28a719
commit
3faec26a70
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,7 @@ import android.content.BroadcastReceiver;
|
|||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Vibrator;
|
||||
import android.util.Log;
|
||||
|
||||
/**
|
||||
* Created by jfoucry on 6/23/16.
|
||||
|
@ -16,6 +17,8 @@ public class NotificationPublisher extends BroadcastReceiver {
|
|||
public static String NOTIFICATION = "notification";
|
||||
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
Log.i(TAG, "onReceive");
|
||||
|
||||
NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
|
||||
Notification notification = intent.getParcelableExtra(NOTIFICATION);
|
||||
|
|
Loading…
Reference in a new issue