Nikita Kraev and Facebook Github Bot
79efa43428
Update ImageEditingManager to use internal storage before falling back to external for cache
...
Summary:
Changelog: [Android] [Changed] - Internal storage now will be preferred for caching images from ImageEditor.
Now we try to write to internal cache directory first.
If that fails (due to no memory error or other IOException), we attempt to write to external storage (if that is allowed).
I introduced additional configuration flag, `allowExternalStorage` which is true by default.
And i updated documentation for new behaviour - see
`ImageEditor.cropImage(..)` comment.
Reviewed By: makovkastar
Differential Revision: D19878158
fbshipit-source-id: 7e338ce68f535f74c62b5eecd5a94af7e7396f8b
2020-02-25 05:46:59 -08:00
..
2020-02-13 15:08:27 -08:00
2020-02-24 13:09:11 -08:00
2020-02-24 13:09:11 -08:00
2020-02-24 13:09:11 -08:00
2020-02-24 13:09:11 -08:00
2020-02-24 13:09:11 -08:00
2020-02-06 03:35:32 -08:00
2020-02-24 13:09:11 -08:00
2019-12-05 16:06:46 -08:00
2019-12-20 01:41:02 -08:00
2020-02-24 16:19:36 -08:00
2020-02-24 03:17:27 -08:00
2020-02-24 13:09:11 -08:00
2019-11-21 09:42:57 -08:00
2020-02-24 13:09:11 -08:00
2020-02-25 05:46:59 -08:00
2020-01-14 08:03:49 -08:00
2020-02-24 13:09:11 -08:00
2019-12-17 20:09:25 -08:00
2019-12-05 16:06:46 -08:00
2019-11-21 09:42:57 -08:00
2020-01-28 17:10:30 -08:00
2020-02-24 13:09:11 -08:00
2020-02-24 13:09:11 -08:00
2020-02-24 13:09:11 -08:00
2020-02-25 04:34:38 -08:00
2020-02-24 13:09:11 -08:00
2020-02-24 13:09:11 -08:00
2020-01-23 13:20:53 -08:00
2020-02-24 13:09:11 -08:00
2020-02-24 13:09:11 -08:00
2019-12-05 16:06:46 -08:00
2020-02-24 13:09:11 -08:00
2019-12-06 13:35:47 -08:00
2020-01-28 15:14:23 -08:00
2020-02-24 13:09:11 -08:00
2020-02-24 13:09:11 -08:00
2020-02-24 13:09:11 -08:00
2019-08-22 17:50:36 -07:00
2020-02-19 15:28:59 -08:00
2020-02-24 13:09:11 -08:00
2020-02-19 19:33:27 -08:00
2020-02-24 13:09:11 -08:00
2020-02-19 19:33:27 -08:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-02-24 13:09:11 -08:00
2020-01-29 04:36:28 -08:00
2019-12-05 16:06:46 -08:00
2020-02-24 13:09:11 -08:00
2020-02-19 15:28:59 -08:00
2019-10-12 15:52:27 -07:00
2020-02-24 13:09:11 -08:00
2020-02-11 10:54:39 -08:00
2019-10-16 10:06:34 -07:00
2020-02-21 10:34:40 -08:00
2018-02-27 08:42:14 -08:00
2019-11-19 16:22:29 -08:00
2019-05-08 08:48:59 -07:00
2019-08-21 09:58:24 -07:00