Guest User

Untitled

a guest
Feb 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. DocumentFile dfNew = dfDirectory.createFile("video/mp4", "foo.mp4");
  2. //dfNew.getParentFile() is NOT null.
  3. DocumentFile dfNewCopy = DocumentFile.fromSingleUri(activity, dfNew.getUri());
  4. //dfNewCopy.getParentFile() IS null. Otherwise, dfNewCopy works fine
Add Comment
Please, Sign In to add comment