From e119bb48bfb09a121b354b4da4e3e15c737fffc9 Mon Sep 17 00:00:00 2001 From: Prateek Chaubey <41151614+prateek-chaubey@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:57:03 +0530 Subject: [PATCH] Create NotificationActionService.java --- .../youtube/pro/NotificationActionService.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 app/src/main/java/com/google/android/youtube/pro/NotificationActionService.java diff --git a/app/src/main/java/com/google/android/youtube/pro/NotificationActionService.java b/app/src/main/java/com/google/android/youtube/pro/NotificationActionService.java new file mode 100644 index 0000000..8bb2ef6 --- /dev/null +++ b/app/src/main/java/com/google/android/youtube/pro/NotificationActionService.java @@ -0,0 +1,17 @@ +package com.google.android.youtube.pro; + + +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.util.Log; + +public class NotificationActionService extends BroadcastReceiver { + @Override + public void onReceive(Context context, Intent intent) { + context.sendBroadcast(new Intent("TRACKS_TRACKS") + .putExtra("actionname", intent.getAction())); + + // Log.e("ButtonAction",intent.getAction().toString()); + } +}