Commit Graph

4024 Commits (a6564f8f8458fa256e4b68fef65210ee0c30d518)
 

Author SHA1 Message Date
Greyson Parrelli e5a2cea6b0 Fix voice note seeking issue.
On some devices, pausing+resuming (or seeking) would restart playback
from the beginning, but show a progress bar further up. This seems to
have been caused by same race condition-y thing where we were seeking
multiple times in rapid succession. Now we'll only play once, and things
seem to be fine now.

Also removed usage of some deprecated methods.

Fixes #8432
6 years ago
Greyson Parrelli be215b3b1e Bump version to 4.31.5 6 years ago
Greyson Parrelli 2d5c2d24e5 Updated language translations. 6 years ago
Greyson Parrelli 038238a333 Allow multiple attachments to download at once.
Not only will this be faster, but it serves as a mitigation
for the times when WorkManager gets 'stuck'.

Fixes #8427
6 years ago
Greyson Parrelli bfdad2f47c Updated logging. 6 years ago
Greyson Parrelli 2489ea0d5b Revert "Fix notification badge display."
This reverts commit caf93b9203.
6 years ago
Greyson Parrelli 053f071f41 Bump version to 4.31.4 6 years ago
Greyson Parrelli caf93b9203 Fix notification badge display.
Fixes #7580
6 years ago
Greyson Parrelli f0bfd7224f Handle having a null sender certificate at send time.
Fixes #8425
6 years ago
Greyson Parrelli f13becc50b Bump version to 4.31.3 6 years ago
Greyson Parrelli 4b88f7b845 Unsubscribe from typing observers when forwarding messages. 6 years ago
Greyson Parrelli a81cc685b2 Fix crash where toolbar was updated off of the main thread. 6 years ago
Greyson Parrelli b6098a26b4 Update typing indicator intro strings. 6 years ago
Greyson Parrelli d6abf89a7a Filter out typing indicators from ourself. 6 years ago
Greyson Parrelli dd55fe90bc Fix typing experience upgrade version.
Because of the production hotfix, we need to up this version to be
higher than what is currently in prod.
6 years ago
Greyson Parrelli 5a53268534 Update typing indicator intro screen. 6 years ago
Greyson Parrelli 1f9a65e389 Bump version to 4.31.2 6 years ago
Greyson Parrelli 81055e61a6 Update WorkManager to 1.0.0-alpha11. 6 years ago
Greyson Parrelli 8a1a47e773 Fix MediaPreview NPE. 6 years ago
Greyson Parrelli 193d82789f Bump version to 4.31.1 6 years ago
Greyson Parrelli 7f09d1d0d7 Updated language translations. 6 years ago
Greyson Parrelli 187d7b3e3a Fix the caption database migration. 6 years ago
Greyson Parrelli 5d1fcdaded Fix typing indicator animation.
The Android animators were getting out of sync when frames were dropped
(despite my best efforts), so now we just manually render each animation
frame as a function of time, so it never gets screwed up.

Fixes #8388
6 years ago
Greyson Parrelli 36b24d0a20 Rotate sender cert at send time if it's expired. 6 years ago
Greyson Parrelli f9d7cf0e19 Bump version to 4.31.0 6 years ago
Greyson Parrelli 47a10a0288 Added support for multi-image receive. 6 years ago
Greyson Parrelli e665252b86 Add more logging to GenericForegroundService. 6 years ago
Greyson Parrelli a3411072ba Remove MasterSecret job.
It's no longer necessary.
6 years ago
Greyson Parrelli 776b0e23ae Add support for typing indicators. 6 years ago
Greyson Parrelli 3f25fb7d5f Handle voice note media playback with ExoPlayer.
There are several (popular) phone models out there that have bugs in
their MediaPlayer implementation that cause them to be unable to play
voice notes. By moving to ExoPlayer, an application-level media player,
we should avoid most of these headaches and stardardize playback.

Fixes #7748
6 years ago
Greyson Parrelli 053e6fc223 Bump version to 4.30.7 6 years ago
Greyson Parrelli a2ea115650 Initialize jobs in the try block.
In the case where we add new fields to a Job's InputData, we want to
make sure that initialize() is called in the try block so that if it
fails, it simply fails the job (allowing the user to retry with the new
field) instead of crashing.
6 years ago
Greyson Parrelli 3f7e9cb46f Bump version to 4.30.6 6 years ago
Greyson Parrelli cefe50e8a9 Updated language translations. 6 years ago
Greyson Parrelli ff9d5df0e0 Dark theme support for emoji variation selector. 6 years ago
Greyson Parrelli 3716d69b0b Dismiss emoji variation popup when keyboard is dismissed.
Fixes #8372
6 years ago
Greyson Parrelli d5be43cc85 Bump version to 4.30.5 6 years ago
Greyson Parrelli 481ff5c81e Updated language translations. 6 years ago
Greyson Parrelli 3e26060e99 Updated libsignal-service-java to 2.12.2 6 years ago
Greyson Parrelli d93bfbf693 Prevent SendJobs from sending already-sent messages.
This is to guard against behavior WorkManager has where it may
re-enqueue a job that has already been completed (if, for instance, it
was preempted).

Fixes #8268
6 years ago
Greyson Parrelli a7e15dc21e Removed unused asset. 6 years ago
Greyson Parrelli bb566cb11f Bump version to 4.30.4 6 years ago
Greyson Parrelli 28081abe1c Split the 'people' emoji spritesheet into multiple chunks.
The aim of this is to help performance by breaking up the single massive
spritesheet into smaller ones. This will limit the amount of data that
needs to be kept in memory to render emoji.

(Hopefully) Fixes #8357
6 years ago
Greyson Parrelli e7c00a3066 Fix issue where we may oversend SMS messages.
Because SMS sending is split over two jobs, there's no max retry limit
respected if we find out about the failure in SmsSentJob -- it's
requeued as a new job with a fresh attempt counter.

This commit carries a retry count between the two jobs. It also verifies
that we have service before attempting to send a message at all.

Relates to #8268
6 years ago
Greyson Parrelli 446585ad68 Fix emoji variation selector on older devices.
Weird platform-specific bug was preventing the display of the
PopupWindow.
6 years ago
Greyson Parrelli 4ebca9ddde Register RotateSenderCertificateListener in the manifest. 6 years ago
Greyson Parrelli 4c6655bd9a Bump version to 4.30.3 6 years ago
Greyson Parrelli cbc7288242 Updated language translations. 6 years ago
Greyson Parrelli 78627ecb08 Updated libsignal-service-java to 2.12.1 6 years ago
Greyson Parrelli bf9582c97e Only set UNRESTRICTED mode if recipients have a non-null verifier.
Otherwise we could send UD messages to people with non-UD linked
devices.
6 years ago