Skip to content

Commit

Permalink
Rename EventReceiver
Browse files Browse the repository at this point in the history
  • Loading branch information
Fs00 committed Oct 26, 2021
1 parent 4a8c7ce commit 1d1a35b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
android:exported="false" />

<receiver
android:name="EventReceiver">
android:name=".DownloadNotificationReceiver">
<intent-filter>
<action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED" />
</intent-filter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@

package com.gh4a;

import android.annotation.SuppressLint;
import android.app.DownloadManager;
import android.content.ActivityNotFoundException;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class EventReceiver extends BroadcastReceiver {
@SuppressLint("InlinedApi")
public class DownloadNotificationReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
if (DownloadManager.ACTION_NOTIFICATION_CLICKED.equals(intent.getAction())) {
Expand Down

0 comments on commit 1d1a35b

Please # to comment.