Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c2ccd05 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Throw the right exception flavor.

Change-Id: Ie017fce925ed0122d3820c3f3d91e1b86982a7b1
parent 8a8e68ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");
                    }