Check visible paths as well when generate docId from file system path.
getDocumentUri(String, List<UriPermission>) needs it because MediaStore can only provide path under visible paths for external SD cards. Test: Manual test w/ SD card. Relative CTS tests pass. Happy to add automated tests for SD card cases if somebody shows me how. Bug: 33819522 Change-Id: I15cdd60a2d2c94275dd661f20b5b0deb0d80d258
Loading
Please register or sign in to comment