OSDN Git Service

Remove the flag and make openTypedDocument throw FileNotFoundException.
authorTomasz Mikolajewski <mtomasz@google.com>
Thu, 24 Dec 2015 04:24:00 +0000 (13:24 +0900)
committerTomasz Mikolajewski <mtomasz@google.com>
Thu, 7 Jan 2016 03:49:14 +0000 (03:49 +0000)
commit95149ab6a5442a05f05f448854b6ab386c87f717
tree093914392a076a09cd492fe7d4648a6a60be1e0c
parentc800ff99cc1ec6c813d4f40050aae72bcff08eb1
Remove the flag and make openTypedDocument throw FileNotFoundException.

To be compatible with ContentProvider, DocumentsProvider should not
require checking for a flag before calling openTypedAssetFile.

This CL removes the flag, and makes the default implementation throw
FileNotFoundException instead.

Bug: 26222645
Change-Id: I3492f05804e39583ebb8584109c7017b3082846e
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/provider/DocumentsContract.java
core/java/android/provider/DocumentsProvider.java
packages/DocumentsUI/src/com/android/documentsui/CopyService.java
packages/DocumentsUI/src/com/android/documentsui/model/DocumentInfo.java
packages/DocumentsUI/tests/src/com/android/documentsui/CopyServiceTest.java
packages/DocumentsUI/tests/src/com/android/documentsui/StubProvider.java