Skip to content
  • Jean-Baptiste Kempf's avatar
    Fix possible NullDereference · 5fc42219
    Jean-Baptiste Kempf authored
    Uri.Decode can return null if input is Null.
    ThereforeURItoFile can return Null if input is Null, and so can URIToFileName.
    Media.mLocation could be null (that would be stupid though), and
    therefore Media.getFileName could be null and getTitle would crash.
    
    Media.getTitle() will now return an empty string and the other cases
    will be checked.
    5fc42219