Alex Hart
26bebb9811
Upgrade several AndroidX Libraries.
...
AppCompat 1.2.0 to 1.5.1
Lifecycle 2.3.1 to 2.5.1
Navigation 2.3.5 to 2.5.2
Fragment 1.3.5 to 1.5.2
Annotations 1.2.0 to 1.4.0
Window 1.0.0-alpha09 to 1.0.0
AAPT2 to 7.0.4
Fragment-Testing 1.3.5 to 1.5.2 (matching Fragment)
2022-09-14 15:30:43 -04:00
Cody Henthorne
0c7a8a63b5
Use Mat3 menu and dialog in Media Preview toolbar/save.
2022-08-04 17:12:30 -04:00
Alex Hart
d40be0abf8
Maintain send button tinting in media preview.
2022-07-26 09:33:45 -04:00
Alex Hart
523537cf05
Enable sharing to stories and refactor share activity.
2022-04-15 16:07:14 -04:00
Alex Hart
fc55be0916
Stop voice note on video playback.
2022-04-08 12:19:27 -04:00
Alex Hart
a894ba7a51
Implement cross-fade for story thumb shared element animation.
2022-04-08 12:19:26 -04:00
Alex Hart
477698f917
Use media forward sheet when forwarding in Media preview.
2022-04-06 12:37:43 -04:00
Fumiaki Yoshimatsu
e4f69c0b6f
Add padding to the toolbar in media preview activities.
...
Fixes #10298
2022-04-06 12:36:32 -04:00
Sgn-32
745dfc3fbb
Fix translation issue with media preview.
...
Fixes #12072
Closes #12092
2022-03-28 19:07:21 -04:00
Cody Henthorne
4acafc3d77
Fix translation issue with media preview.
...
Fixes #12072
2022-03-28 19:07:20 -04:00
Rashad Sookram
bd915cdd7f
Fix crash from using a closed Cursor.
...
The call to setActive was causing the cursor held by the ViewModel to be
used, which hadn't been updated yet.
2022-03-08 10:41:37 -04:00
Rashad Sookram
fc847db389
Prevent video from restarting on attachment change.
...
Fixes #11816
2022-02-17 17:09:26 -05:00
Rashad Sookram
b94624fd5a
Treat SVGs as document attachments.
2021-12-16 14:48:25 -05:00
Greyson Parrelli
b6022be41f
Fix possible crash in MediaPreviewActivity.
2021-11-24 16:41:12 -05:00
Greyson Parrelli
658de3b6e7
Convert all database notifiers to use DatabaseObserver.
...
Lots of red in this diff to celebrate the release of Red (Taylor's Version).
2021-11-16 17:27:47 -05:00
Alex Hart
ed23c3fe7c
Add avatar picker and defaults.
2021-07-21 16:57:03 -04:00
Cody Henthorne
08f023fb12
Revert "Fix ANR when leaving MediaPreviewActivity."
...
This reverts commit 8be659c1c8
.
2021-06-21 09:55:40 -04:00
Cody Henthorne
8be659c1c8
Fix ANR when leaving MediaPreviewActivity.
2021-06-18 15:10:15 -04:00
Alex Hart
335ff61011
Fix several Gif MP4 UX issues.
2021-06-09 10:23:41 -03:00
Greyson Parrelli
b053fbc4a7
Use Log.tag where appropriate.
2021-03-31 16:02:32 -03:00
Greyson Parrelli
9ed95a6081
Revert "Fix wallpaper in landscape mode with notched devices."
...
This reverts commit 0b62bb8168
.
2021-01-30 11:29:44 -05:00
Alex Hart
0b62bb8168
Fix wallpaper in landscape mode with notched devices.
2021-01-29 18:22:32 -05:00
Greyson Parrelli
8e93bf9075
Create a core-util module with some common utilities.
2020-12-05 13:44:13 -05:00
Cody Henthorne
c3b5323010
Update assets and themes to leverage DayNight system.
2020-11-11 15:29:01 -05:00
Alan Evans
2f69a9c38e
Share media from within Media Preview and share QR code image.
2020-11-04 16:05:35 -04:00
Greyson Parrelli
ead64d92a5
Rename Recipient.isLocalNumber() to Recipient.isSelf()
2020-10-22 15:55:18 -03:00
Alex Hart
dc64a186d5
Fix mediastore access for Android Q.
2020-10-19 18:16:29 -03:00
Alan Evans
8dcda73072
Fix media preview crash.
2020-09-28 09:45:06 -03:00
Cody Henthorne
edaf17bdd4
Fix invisible media controls and notch jank.
...
Fixes #9993 .
2020-09-23 16:54:38 -04:00
Greyson Parrelli
9dc33eff3a
Remove thumbnails from the AttachmentDatabase.
...
Glide can do everything for us now, including video thumbnails.
2020-09-23 16:54:38 -04:00
Fumiaki Yoshimatsu
1e37951701
Use onCreateOptionsMenu when to inflate a menu in order for menu items to appear correctly in RTL languages.
...
The bug was reported in
https://community.signalusers.org/t/beta-feedback-for-the-upcoming-android-4-70-release/16449/20?u=alan-signal , but it was not necessarily a regression caused by the commit suggested in the forum post. It is more like that the bug was finally exposed by the commit. Before the commit the menu items were not properly aligned nor translated upon configuration changes in RTL languages.
2020-08-31 12:12:15 -03:00
Cody Henthorne
3c069fb588
Enable Media Preview to respond to media changes.
2020-07-09 19:07:21 -04:00
Greyson Parrelli
bf919207ed
Various logging improvements.
...
* Improve lifecycle logging.
* Remove 'action bar' from base activity names.
* Remove some unnecessary glide logs.
2020-06-25 08:29:48 -04:00
Greyson Parrelli
3d7cffef2b
Remove Message Requests feature flag.
2020-06-16 19:30:35 -04:00
Alan Evans
4e0279200f
Refactor out MediaPreviewActivity Intent creation method.
2020-04-21 13:33:41 -04:00
Greyson Parrelli
9bac88697b
Support sharing multiple photos/videos into Signal.
2020-02-13 20:53:10 -05:00
Alan Evans
9ebe920195
Move all files to natural position.
2020-01-06 11:08:30 -05:00