diff options
Diffstat (limited to 'src/com/android/providers/downloads/DownloadThread.java')
-rwxr-xr-x | src/com/android/providers/downloads/DownloadThread.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/providers/downloads/DownloadThread.java b/src/com/android/providers/downloads/DownloadThread.java index 9d5274c4..88cd9162 100755 --- a/src/com/android/providers/downloads/DownloadThread.java +++ b/src/com/android/providers/downloads/DownloadThread.java @@ -769,7 +769,7 @@ public class DownloadThread implements Runnable { Log.i(Constants.TAG, "have run thread before for id: " + mInfo.mId + ", and state.mFilename: " + state.mFilename); } - if (!Helpers.isFilenameValid(state.mFilename, + if (!Helpers.isFilenameValid(mContext, state.mFilename, mStorageManager.getDownloadDataDirectory())) { // this should never happen throw new StopRequestException(Downloads.Impl.STATUS_FILE_ERROR, |