blob: 1a01a1540bb99e82631c446fc7fa7313c3ef2a3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package com.mapswithme.maps.downloader;
import android.app.Application;
import android.support.annotation.NonNull;
import com.mapswithme.maps.background.Notifier;
public class RetryFailedDownloadConfirmationListener implements Runnable
{
@NonNull
private final Application mApplication;
RetryFailedDownloadConfirmationListener(@NonNull Application application)
{
mApplication = application;
}
@Override
public void run()
{
final Notifier notifier = Notifier.from(mApplication);
notifier.cancelNotification(Notifier.ID_DOWNLOAD_FAILED);
}
}
|