refactor arguments for shared element transitions

This commit is contained in:
dkanada 2021-05-16 18:52:55 +09:00
commit 589f966655
11 changed files with 28 additions and 37 deletions

View file

@ -30,20 +30,13 @@ public class DownloadService extends Service {
public static final String EXTRA_SONG = PACKAGE_NAME + ".extra.song";
private Executor executor;
private Handler handler;
private DownloadNotification notification;
@Override
public void onCreate() {
super.onCreate();
Looper looper = Looper.myLooper();
if (looper == null) {
looper = Looper.getMainLooper();
}
executor = Executors.newFixedThreadPool(4);
handler = new Handler(looper);
notification = new DownloadNotification(this);
}