Commit graph

174 commits

Author SHA1 Message Date
tibbi
12e3f61574 catch outofmemory errors at gif loading 2017-11-16 14:56:14 +01:00
tibbi
ee883d3acc update MyScalableRecyclerView to the new MyRecyclerView 2017-11-16 14:03:18 +01:00
tibbi
0bb48601f4 remove some empty callbacks to avoid memory leaks 2017-11-09 14:50:05 +01:00
tibbi
932fc628a3 use applicationContext at launching settings 2017-11-06 23:59:09 +01:00
tibbi
1e69561e84 use applicationContext at getting a Config instance 2017-11-06 23:54:31 +01:00
tibbi
2ada4af2bf catch exceptions thrown by GifDrawable, load them as simple jpgs 2017-11-02 16:23:20 +01:00
tibbi
9d8dd61dfa style update + wrap gifDrawables in try/catch 2017-11-02 09:43:49 +01:00
tibbi
4c80ba98fb move a couple more intent handling to the Commons library 2017-10-29 19:08:45 +01:00
tibbi
437390cfa3 create a shareUris extension for sharing multiple media 2017-10-29 18:37:38 +01:00
tibbi
02dfcd63c0 reuse shareUri at shareMedium 2017-10-29 18:35:08 +01:00
tibbi
73856e6769 reuse the OpenFile intent handling from Commons 2017-10-29 18:28:28 +01:00
tibbi
de1c418f78 catch exceptions thrown at getting mimetype from uri 2017-10-29 10:29:57 +01:00
tibbi
1dad41fdf7 show an error if the user tries sharing too much data 2017-10-28 19:56:33 +02:00
tibbi
977edc1f34 some cleanup around thumbnail loading 2017-10-28 14:11:01 +02:00
tibbi
4fedc05571 use GifDrawables at thumbnails too 2017-10-28 13:27:50 +02:00
tibbi
286955ab83 replace PhotoView with GifDrawable
it will replace zoomable gifs with smooth gifs
2017-10-28 11:02:02 +02:00
tibbi
84263a3b10 never force chooser at Edit intent 2017-10-27 14:08:50 +02:00
tibbi
c9f6668fc1 force an app chooser at some openFile intents 2017-10-27 14:08:33 +02:00
tibbi
c520c8c557 send real filepath as an extra with View intent 2017-10-27 10:54:49 +02:00
tibbi
98bee4022e replace sending real_file_path with extra_output at the editor 2017-10-27 10:34:16 +02:00
tibbi
f0af8777a3 send the real file path with edit intent 2017-10-27 10:07:58 +02:00
tibbi
fa2a237593 update target SDK to 26 and handle fileprovider 2017-10-26 23:43:13 +02:00
tibbi
3e7d67a3a2 update commons, use our custom map for determining file mimetype 2017-10-24 22:57:04 +02:00
tibbi
06b3c728ce no need to update last modified manually afer renaming on internal storage 2017-10-23 23:52:37 +02:00
tibbi
208d005139 update commons to 2.31.1 2017-10-23 12:09:55 +02:00
tibbi
608292a357 update Commons and use its way of getting mimetype of multiple uris 2017-10-22 22:57:53 +02:00
tibbi
1d56b2ac8b show a more specific error message when creating .nomedia file fails 2017-10-19 19:18:36 +02:00
tibbi
2dbbc2bbdb add an extra check at creating .nomedia file on the SD card 2017-10-19 19:13:12 +02:00
tibbi
021a1cbf74 rewrite the mediapicker dialog, make it work like picking directories 2017-10-19 17:24:14 +02:00
tibbi
6e6af530bf do not clear mMedia if the intent came from the gallery itself 2017-09-30 23:39:04 +02:00
tibbi
0ef9ff06bf refresh directories instantly after un/pinning 2017-09-30 22:33:58 +02:00
tibbi
7cc1a9ce17 move the media fetching related functions in a separate class 2017-09-30 22:06:32 +02:00
tibbi
33a4b81279 replace lastModified mediaitem checking with latest media date taken 2017-09-27 23:58:30 +02:00
tibbi
373e06c98f ignore the root folders at fetching media 2017-09-27 23:10:14 +02:00
tibbi
d8811d66b8 move some media getting functions in Context extensions 2017-09-25 23:19:17 +02:00
tibbi
417c1169f8 just quickly resort directories at sorting change, when possible 2017-09-25 22:34:58 +02:00
tibbi
0da84f2958 change the way directories are grouped and sorted 2017-09-25 21:04:09 +02:00
tibbi
56a31e6ced fix #326, properly set bottom padding in landscape mode videos 2017-09-17 11:17:51 +02:00
tibbi
28ccfb6fe1 add a file.exists() check too 2017-09-11 21:34:23 +02:00
tibbi
624c0e2d08 check the filesize only after checking the file type 2017-09-11 21:34:15 +02:00
tibbi
ffcd632bad small code style update 2017-09-11 21:15:59 +02:00
tibbi
b1c1d131d9 properly allow excluding or including the root folder 2017-09-04 21:52:48 +02:00
tibbi
bc281dd102 properly show third party image, even if its not in mediastore 2017-09-01 11:14:00 +02:00
tibbi
c04f887229 temporarily show excluded folders if needed, for example at third party intents 2017-09-01 10:33:51 +02:00
tibbi
c7307ce523 add the slash after included/excluded folders at init 2017-08-31 14:37:13 +02:00
tibbi
6b61883214 add the slash after nomedia folders right at fetching 2017-08-31 14:28:15 +02:00
tibbi
416f459bc5 improve the checks if the file is a gif 2017-08-31 12:21:14 +02:00
tibbi
fe09961c61 simplify the uri getter at sharing media 2017-08-31 09:35:18 +02:00
tibbi
7046fc9ed4 fix #328, properly handle GIF filtering 2017-08-28 14:16:30 +02:00
tibbi
272d45b3f4 move the Media filtering from Settings to an actionmenu item 2017-08-28 13:33:46 +02:00