OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a8e68c
)
Throw the right exception flavor.
author
Jeff Sharkey
<jsharkey@android.com>
Tue, 22 Mar 2016 16:05:47 +0000
(10:05 -0600)
committer
Jeff Sharkey
<jsharkey@android.com>
Tue, 22 Mar 2016 16:05:47 +0000
(10:05 -0600)
Change-Id: Ie017fce925ed0122d3820c3f3d91e1b86982a7b1
core/java/android/app/DownloadManager.java
patch
|
blob
|
history
diff --git
a/core/java/android/app/DownloadManager.java
b/core/java/android/app/DownloadManager.java
index
ed4bb28
..
536c4a8
100644
(file)
--- a/
core/java/android/app/DownloadManager.java
+++ b/
core/java/android/app/DownloadManager.java
@@
-1319,7
+1319,7
@@
public class DownloadManager {
return getLocalUri();
case COLUMN_LOCAL_FILENAME:
if (!mAccessFilename) {
- throw new
IllegalArgument
Exception(
+ throw new
Security
Exception(
"COLUMN_LOCAL_FILENAME is deprecated;"
+ " use ContentResolver.openFileDescriptor() instead");
}