package com.android.systemui.secureline;

import android.app.NotificationManager;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class SecureLineActiveReceiver
        extends BroadcastReceiver {

    @Override
    public void onReceive(
            Context context,
            Intent intent
    ) {

        NotificationManager nm =
                context.getSystemService(
                        NotificationManager.class
                );

        if (nm == null) {
            return;
        }

        /*
         * Remove expiry notification
         */

        nm.cancel(7001);

        /*
         * Remove lock notification
         */

        nm.cancel(7002);
    }
}
