Share file with camera using cache and FileProvider

* Use cache instead of external storage to share file with camera
* Execute ExistingFileAsync after permission is granted
This commit is contained in:
Yusuke Matsubara 2017-06-10 16:47:18 +09:00
parent 9e0792f1e2
commit 9c69539276
9 changed files with 333 additions and 177 deletions

View file

@ -197,7 +197,7 @@ public class MediaDetailFragment extends Fragment {
extractor.fetch();
return Boolean.TRUE;
} catch (IOException e) {
e.printStackTrace();
Timber.d(e);
}
return Boolean.FALSE;
}