Skip to content
  • Sharaf Zaman's avatar
    Android: don't set nameFilters when exporting · 046fbdce
    Sharaf Zaman authored
    Android docs suggest two ways to pass mime info to the Storage Framework
    1. Intent#setType() -- when mimetype belongs to some specific category e.g image/*
    2. Intent#EXTRA_MIME_TYPES -- for disjoint ones.
    
    But Qt always uses the first mimetype in the list as setType, which for certain
    concrete mimeTypes (like image/jpeg), defaults the extension to .jpg which
    we/user can't change.
    
    BUG:429056
    (cherry picked from commit 7f211e12)
    046fbdce