package com.novoda.downloadmanager.demo;

import android.app.Application;
import android.os.Handler;
import android.os.Looper;

import com.facebook.stetho.Stetho;
import com.novoda.downloadmanager.DownloadManagerBuilder;
import com.novoda.downloadmanager.LiteDownloadManagerCommands;

import java.util.concurrent.TimeUnit;

public class DemoApplication extends Application {

    private volatile LiteDownloadManagerCommands liteDownloadManagerCommands;

    @Override
    public void onCreate() {
        super.onCreate();
        Stetho.initializeWithDefaults(this);
        createLiteDownloadManager();
    }

    private void createLiteDownloadManager() {
        Handler handler = new Handler(Looper.getMainLooper());

        liteDownloadManagerCommands = DownloadManagerBuilder
                .newInstance(this, handler, R.mipmap.ic_launcher_round)
                .withCallbackThrottleByTime(TimeUnit.MILLISECONDS, 1)
                .build();
    }

    public LiteDownloadManagerCommands getLiteDownloadManagerCommands() {
        return liteDownloadManagerCommands;
    }
}

@@ -282,47 +282,8 @@
 s;%0A%0A
-import java.util.concurrent.TimeUnit;%0A%0A
 publ
@@ -815,78 +815,8 @@
 nd)%0A
-                .withCallbackThrottleByTime(TimeUnit.MILLISECONDS, 1)%0A
     

Revert changes made to DemoApplication.