mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-10 07:51:20 +01:00
Change the log TAG;
Change log message.
This commit is contained in:
parent
55dbf37698
commit
73efb1fbae
1 changed files with 2 additions and 2 deletions
|
@ -13,12 +13,12 @@ import android.util.Log;
|
||||||
*/
|
*/
|
||||||
public class NotificationPublisher extends BroadcastReceiver {
|
public class NotificationPublisher extends BroadcastReceiver {
|
||||||
|
|
||||||
private static String TAG = Thread.currentThread().getStackTrace()[1].getMethodName();
|
private static String TAG = NotificationPublisher.class.getName();;
|
||||||
public static String NOTIFICATION_ID = "notification-id";
|
public static String NOTIFICATION_ID = "notification-id";
|
||||||
public static String NOTIFICATION = "notification";
|
public static String NOTIFICATION = "notification";
|
||||||
|
|
||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
||||||
Log.i(TAG, "");
|
Log.i(TAG, "Receive notification");
|
||||||
|
|
||||||
NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue