Generic DownloadManager and DownloadService
Downloader specific parameters and constructor is moved to DownloadAction class. DownloadAction objects need to be serialized so they can be passed in Intents and can be stored to filesystem (to be implemented). So DownloadAction.Serializer is added. Didn't use Serializable interface because of the concerns over incompabilities when the new versions of classes are used. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=164831115
This commit is contained in:
parent
ab277675a1
commit
2d0044fee4
@ -35,7 +35,6 @@ android {
|
|||||||
dependencies {
|
dependencies {
|
||||||
compile project(modulePrefix + 'library-core')
|
compile project(modulePrefix + 'library-core')
|
||||||
compile 'com.android.support:support-annotations:' + supportLibraryVersion
|
compile 'com.android.support:support-annotations:' + supportLibraryVersion
|
||||||
compile 'com.android.support:support-core-utils:' + supportLibraryVersion
|
|
||||||
androidTestCompile project(modulePrefix + 'testutils')
|
androidTestCompile project(modulePrefix + 'testutils')
|
||||||
androidTestCompile 'com.google.dexmaker:dexmaker:' + dexmakerVersion
|
androidTestCompile 'com.google.dexmaker:dexmaker:' + dexmakerVersion
|
||||||
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:' + dexmakerVersion
|
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:' + dexmakerVersion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user