Commit graph

3031 commits

Author SHA1 Message Date
Naveen
5fba1ad810 Simplify code 2022-07-04 16:29:59 +05:30
Naveen
a8bfae66a7 Clear cached media only for external intents 2022-07-04 16:10:19 +05:30
tibbi
86060e39a4 do not allow clicking outside the All Files access prompt 2022-07-02 12:38:07 +02:00
tibbi
f1ef67f3bc do not show IOExceptions at rotating images, saving works just fine 2022-07-02 12:07:17 +02:00
tibbi
c8b66cd439 reset fullscreen image only on device rotation 2022-06-26 20:15:48 +02:00
tibbi
718836459b use the new string at the media management dialog 2022-06-24 09:28:36 +02:00
Tibor Kaputa
aa68cc92f2
Merge pull request #2522 from Naveen3Singh/position_glitch
Fix position snap glitch
2022-06-20 21:27:11 +02:00
tibbi
ec0753a148 tweaking the error at requesting All files access 2022-06-20 12:50:38 +02:00
tibbi
e121a9b72b allow using custom aspect ratio at wallpapers 2022-06-19 15:41:22 +02:00
Naveen
e6039d07cb Remove page change listener before changing adapter 2022-06-19 17:19:35 +05:30
Naveen
ccb9b60a12 Remove unnecessary call to getCachedMedia 2022-06-18 14:36:59 +05:30
Naveen
46533e4b45 Minor code improvements 2022-06-18 14:35:04 +05:30
tibbi
0b3c900a02 fix a glitch after rotating the device with screen off 2022-06-17 22:54:11 +02:00
tibbi
dc53582a51 add a backup dialog for redirecting to media management settings 2022-06-17 09:40:58 +02:00
tibbi
8bfa7fdc7c use the new way of getting FileDirItem content URIs 2022-06-15 16:29:45 +02:00
tibbi
ff5019998d pass the MediaStoreId with FileDirItems at deleting too 2022-06-15 12:20:53 +02:00
tibbi
87b4bdc6b3 updating commons 2022-06-15 12:02:39 +02:00
tibbi
4b7c86f000 make the media placeholder clickable too 2022-06-12 21:52:50 +02:00
Naveen
a2b70485fa Bring placeholder text view to front 2022-06-12 16:10:30 +05:30
tibbi
f297cc6d2e add the temporary excluded folder showing in Whats New 2022-06-06 16:46:08 +02:00
tibbi
0e0a3e5596 lets show Temporarily show excluded, even if empty 2022-06-06 16:42:11 +02:00
tibbi
45844439dd catch and show exceptions thrown at cropping third party intents 2022-06-05 22:55:04 +02:00
tibbi
550f42f110 show "Temporarily show excluded" only if we have any excluded folders 2022-06-05 11:52:04 +02:00
tibbi
d28d57f961 allow protecting excluded folder visibility 2022-06-05 11:37:20 +02:00
tibbi
284ff32771 add a button for temporarily showing excluded 2022-06-05 11:27:06 +02:00
tibbi
b45f682e72 make sure we show the proper video at opening from Favorites 2022-05-31 11:19:41 +02:00
tibbi
8c47d9e5ba fixing a glitch with missing thumbnails at random sorting 2022-05-31 09:51:34 +02:00
tibbi
2838887c83 fix a glitch with wrong sorting by date taken 2022-05-31 09:17:08 +02:00
tibbi
4ab9fcb29d show the media managemement prompt at every app launch, if needed 2022-05-30 22:52:00 +02:00
darthpaul
6fbdb8aa51 excluded folders should not enforce storage restrictions on SDK 30+ 2022-05-26 10:30:54 +01:00
tibbi
fda1b5eeba removing some redundant refreshing 2022-05-25 09:48:47 +02:00
Tibor Kaputa
79b3870598
Merge pull request #2483 from KryptKode/fix/move_position
fix: position returning to 0 after moving file
2022-05-25 09:39:16 +02:00
darthpaul
c33443ed4e fix: position returning to 0 after moving file 2022-05-24 23:42:14 +01:00
Tibor Kaputa
32a20df49b
Merge pull request #2471 from DoozyDoz/feat_size_at_deletion
[feat] Display item(s) size in delete dialog
2022-05-23 22:09:13 +02:00
Tibor Kaputa
4ac8c42e9c
adding a newline 2022-05-23 22:08:42 +02:00
Doozy
1349d4c6e0 [Removed] showing item size for folder deletion 2022-05-23 11:24:41 +03:00
tibbi
335f3f5fc5 do not update file last modified after a file operation, if it is zero 2022-05-21 16:59:16 +02:00
tibbi
50d022c31d allow creating new folders from the main screen too again 2022-05-20 22:50:23 +02:00
Tibor Kaputa
734ee5c6d8
Merge pull request #2473 from KryptKode/fix/delete_position_in_view_pager
fix: position returning to 0
2022-05-20 11:34:02 +02:00
darthpaul
ec6e532c52 fix: position returning to 0
- call onPageSelected(0) if the media.size == 1
2022-05-20 00:02:33 +01:00
Doozy
33c1ddd761 Changes for readability 2022-05-19 11:26:09 +03:00
Doozy
6080191e1a Changed back to File extension 2022-05-19 10:58:37 +03:00
Doozy
914d97c231 Changes for readability 2022-05-19 10:55:26 +03:00
Doozy
fb17549173 Code cleanup (post review) 2022-05-19 10:39:57 +03:00
Doozy
a368db9b87 [feat] Display item(s) size in delete dialog 2022-05-18 18:27:27 +03:00
Tibor Kaputa
bbb806a5e6
Merge pull request #2469 from KryptKode/fix/delete_position_in_view_pager
fix: position returning to 0
2022-05-16 21:29:55 +02:00
darthpaul
dad1a6e817 fix: position returning to 0
- for calling  refreshUI(media, true) would refresh the view pager position, cause mPos to be set back to 0,
so we retain the original behaviour and call refreshUI(media, false)
- when items have been removed up until the last item in the adapter, the ViewPager's OnPageChangeListener.onPageSelected does not get called for the first item
so mPos is never set to zero and deletion fails.
- we add a call in OnPageChangeListener.onPageScrolled to call onPageSelected(0), when the position == 0 to fix this.
2022-05-16 18:44:23 +01:00
tibbi
9addf4b235 adding some widget UI related improvements 2022-05-14 22:30:06 +02:00
tibbi
290a84f699 accept Media access in foss variant too, do not require All files 2022-05-14 20:03:23 +02:00
tibbi
4936eecb17 require the All Files access in foss and prepaid app variants 2022-05-14 15:15:43 +02:00