Merge "Throw the right exception flavor." into nyc-dev
This commit is contained in:
@@ -1319,7 +1319,7 @@ public class DownloadManager {
|
||||
return getLocalUri();
|
||||
case COLUMN_LOCAL_FILENAME:
|
||||
if (!mAccessFilename) {
|
||||
throw new IllegalArgumentException(
|
||||
throw new SecurityException(
|
||||
"COLUMN_LOCAL_FILENAME is deprecated;"
|
||||
+ " use ContentResolver.openFileDescriptor() instead");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user