// Path: app/src/main/java/com/jaus/albertogiunta/justintrain_oraritreni/notification/NotificationService.java
// public static final String ACTION_UPDATE_NOTIFICATION                       = "com.jaus.albertogiunta.justintrain_oraripendolaritrenitalia.action.UPDATE_NOTIFICATION";


import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import java.util.Objects;
import static com.jaus.albertogiunta.justintrain_oraritreni.notification.NotificationService.ACTION_UPDATE_NOTIFICATION;
package com.jaus.albertogiunta.justintrain_oraritreni.notification;





public class ScreenOnReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if (Objects.equals(intent.getAction(), Intent.ACTION_SCREEN_ON)) {
            Intent i = new Intent(context, NotificationService.class);
// Path: app/src/main/java/com/jaus/albertogiunta/justintrain_oraritreni/notification/NotificationService.java
// public static final String ACTION_UPDATE_NOTIFICATION                       = "com.jaus.albertogiunta.justintrain_oraripendolaritrenitalia.action.UPDATE_NOTIFICATION";


// Path: app/src/main/java/com/jaus/albertogiunta/justintrain_oraritreni/notification/ScreenOnReceiver.java
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import java.util.Objects;
import static com.jaus.albertogiunta.justintrain_oraritreni.notification.NotificationService.ACTION_UPDATE_NOTIFICATION;

package com.jaus.albertogiunta.justintrain_oraritreni.notification;





public class ScreenOnReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if (Objects.equals(intent.getAction(), Intent.ACTION_SCREEN_ON)) {
            Intent i = new Intent(context, NotificationService.class);
            i.setAction(ACTION_UPDATE_NOTIFICATION);