Merge "Keep COLUMN_LOCAL_URI working for now." into nyc-dev

This commit is contained in:
Jeff Sharkey
2016-03-31 03:46:12 +00:00
committed by Android (Google) Code Review

View File

@@ -1380,7 +1380,7 @@ public class DownloadManager {
if (destinationType == Downloads.Impl.DESTINATION_FILE_URI ||
destinationType == Downloads.Impl.DESTINATION_EXTERNAL ||
destinationType == Downloads.Impl.DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD) {
String localPath = getString(getColumnIndex(COLUMN_LOCAL_FILENAME));
String localPath = super.getString(getColumnIndex(COLUMN_LOCAL_FILENAME));
if (localPath == null) {
return null;
}