3.1.2代码合并

This commit is contained in:
AriaLyy
2017-05-31 23:04:27 +08:00
19 changed files with 134 additions and 163 deletions

View File

@ -6,7 +6,7 @@ private BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
//可以通过intent获取到下载实体下载实体中包含了各种下载状态
DownloadEntity entity = intent.getParcelableExtra(Aria.ENTITY);
DownloadEntity entity = intent.getParcelableExtra(Aria.DOWNLOAD_ENTITY);
switch (action) {
case Aria.ACTION_PRE: //预处理
break;