Greyson Parrelli
2573900c30
Updated language translations.
2018-10-30 09:07:57 -07:00
Greyson Parrelli
2acab563d9
Support for sealed sender - Part 2
2018-10-30 08:48:08 -07:00
Moxie Marlinspike
5f31762220
Support for sealed sender - Part 1
2018-10-30 08:48:08 -07:00
Greyson Parrelli
b7b9554364
Prevent multiple instances of the same job running concurrently.
...
There are rare corner cases where a Job could be preempted by the
JobScheduler and then be rescheduled before the preempted job finished
running. This could create weird race conditions with bad consequences.
To fix this, we create a fun locking system that prevents two jobs with
the same UUID from running at the same time.
2018-10-30 08:48:07 -07:00
Greyson Parrelli
f15fb904bf
Fix desktop double notification bug.
...
There were situations where we were posting two notifications for messages
when you had an 'active desktop'. This removes that.
2018-10-30 08:48:07 -07:00
Greyson Parrelli
86e4221182
Use a unique notification icon for backups.
2018-10-27 23:34:18 -07:00
Greyson Parrelli
dfe8b25dd7
Use a unique notification icon for the persistent background connection.
2018-10-27 23:32:28 -07:00
Greyson Parrelli
53050b3845
Fix issue with group avatar display.
...
Some legacy code was making the contact photo visible when it shouldn't
be.
2018-10-27 23:12:25 -07:00
Greyson Parrelli
6ce278114f
Ensure profile photo in ConversationList is accurate.
...
Fixes #8270
2018-10-26 11:05:14 -07:00
Greyson Parrelli
48ff9673b9
Allow the selection of fitzpatrick emoji.
2018-10-26 11:05:10 -07:00
Greyson Parrelli
1999d09901
Updated emoji set.
...
Includes display support for more genders, and more notably, skin tones.
These are not currently selectable in the UI, but they will be rendered
properly when other clients send them.
2018-10-24 17:11:17 -07:00
Greyson Parrelli
f93a79ae37
Bump version to 4.29.7
v4.29.7
2018-10-24 17:05:23 -07:00
Greyson Parrelli
fac56be499
Fix the build by listing google repo first.
...
Apparently jcenter() is lame and it broke our build. Listing the google
repo first fixes everything.
2018-10-24 16:57:19 -07:00
Greyson Parrelli
638012f3d0
Bump version to 4.29.6
v4.29.6
2018-10-24 10:58:42 -07:00
Greyson Parrelli
bf452dfa92
Slightly shorten time before we show a foreground notification for pushes.
...
There's some ANRs, not many, that are likely caused by us riding the
5-second ANR timeout a little too closely. Giving us a little buffer to
see if that helps.
2018-10-24 10:58:06 -07:00
Greyson Parrelli
2b14c98eb0
Do not call bluetooth state listener after service is destroyed.
2018-10-24 10:43:08 -07:00
Greyson Parrelli
f164ac90db
Disallow punctuation in icon initials.
2018-10-24 09:57:48 -07:00
Greyson Parrelli
14abbb1bbb
Bump version to 4.29.5
v4.29.5
2018-10-22 13:04:19 -07:00
Greyson Parrelli
91db26437d
Fix camera scaling issues on some phones.
...
Some phones, notably the Pixel 3, had some problems with scaling after
taking photos. This fixes it by using the takePicture API instead of
pulling the bitmap from the TextureView.
Fixes #8292
2018-10-22 01:12:05 -07:00
Greyson Parrelli
76054a9e33
Ignore events after BluetoothStateManager is destroyed.
...
Fixes crash.
2018-10-21 13:03:28 -07:00
Greyson Parrelli
ae9c53bdf8
Ensure jobs have a Context during onAdded().
...
Fixes a crash.
2018-10-20 22:52:14 -07:00
Greyson Parrelli
0dd7b39bb1
Fix recipient prefrence display problem on Android P.
...
Android P's new ringtone selector is a whole new activity that can cause
RecipientPreferenceActivity to go through the full onCreate() flow after
the ringtone selection. This could cause a race between setting the
preference and reading the preference from the notification channel.
Just threw them on a serial executor to guarantee ordering.
2018-10-20 22:42:35 -07:00
Greyson Parrelli
4a0ea0c51c
Handle contexts more consistently in RecipientPreferences.
...
Fixes a crash that was happening on the Pixel 3.
2018-10-20 22:22:07 -07:00
Greyson Parrelli
668e8dee5d
Catch more camera exceptions.
...
Some devices will simply fail to open the camera with a runtime
exception. In this case, all we can do is catch it and report the error.
2018-10-19 15:57:34 -07:00
Greyson Parrelli
8ec3cf6a43
Bump version to 4.29.4
v4.29.4
2018-10-18 09:52:47 -07:00
Greyson Parrelli
a287408a7a
Only start the screen lock timeout when the app is backgrounded.
2018-10-18 09:40:32 -07:00
Greyson Parrelli
78124ef224
Bump version to 4.29.3
v4.29.3
2018-10-17 14:01:44 -07:00
Greyson Parrelli
45e0bb281f
Turn MessageRetrievalService into IncomingMessageObserver.
...
Due to an Android P bug, we basically need to stop calling
startService() in onResume()/onPause(). That means I had to turn
MessageRetrieval service into a singlton instead of a service. I also
moved the offending KeyCachingService calls into static methods that
didn't have to start the service.
2018-10-17 13:58:47 -07:00
Greyson Parrelli
7a6d863ff7
Bump version to 4.29.2
v4.29.2
2018-10-16 22:55:35 -07:00
Greyson Parrelli
feb9e1d513
Post startService() in onPause() as a possible fix to an Android P bug.
...
We already did it for onResume(), and while it fixed the crash there,
the crash just moved to onPause(). Let's see if the same magic works.
2018-10-16 22:54:29 -07:00
Greyson Parrelli
1a5c1a4b42
Bump version to 4.29.1
v4.29.1
2018-10-16 11:53:48 -07:00
Greyson Parrelli
e41ed92f49
Updated language translations.
2018-10-16 11:53:08 -07:00
Greyson Parrelli
7e485b8095
Post startService() in onResume() as a possible fix to an Android P bug.
...
Got confirmation that the crash we're seeing is a bug, and this might be
a possible workaround.
2018-10-16 11:47:58 -07:00
Greyson Parrelli
92773b1a12
Update delivery icon tint in conversation list.
2018-10-16 11:18:49 -07:00
Greyson Parrelli
7cadb0d35a
Properly set the document download icon tint.
2018-10-16 10:58:19 -07:00
Greyson Parrelli
e1f572e1f4
Update GCM foreground notification icon.
...
Using the default Signal icon can confuse people into thinking they're
message notifications.
2018-10-15 16:56:24 -07:00
Greyson Parrelli
ead323c1af
Don't unnecessarily stack GCM message processing.
...
If we already have two active processing GCM messages, there's no
benefit to a third. In fact, enqueuing additional ones will likely only
end up showing the foreground notification unnecessariliy.
2018-10-15 10:37:30 -07:00
Greyson Parrelli
20c059280c
Refactor OrderEnforcer.
2018-10-12 09:30:01 -07:00
Greyson Parrelli
50eb8f2322
Bump version to 4.29.0
v4.29.0
2018-10-11 11:30:18 -07:00
Greyson Parrelli
15f418f2cc
Updated language translations.
2018-10-11 11:30:06 -07:00
Greyson Parrelli
b133546ca6
Bump targetSdkVersion to 26.
2018-10-11 09:55:46 -07:00
Greyson Parrelli
5219d79e27
Remove unnecessary start of KeyCachingService.
2018-10-11 09:55:46 -07:00
Greyson Parrelli
89f97f57cb
Update our boot receiver to schedule a message pull.
...
Previously we were starting a background service, which isn't allowed
for targetSdk 26. This will do the same thing but at a time decided by
the system.
2018-10-11 09:55:46 -07:00
Greyson Parrelli
4c63428b71
Ensure GenericForegroundService is started with startForegroundService.
...
If we don't, we run the risk of the app crashing if the service is
started in the background.
2018-10-11 09:55:46 -07:00
Greyson Parrelli
704715de8f
Fix message details delivery status icon tint (again).
2018-10-11 09:55:33 -07:00
Greyson Parrelli
0d48f10806
Fix issue where a Job had null JobParameters.
2018-10-10 09:00:14 -07:00
Greyson Parrelli
275ca9e3ba
Remove the ability to set a color for a group.
...
No longer applicable given that we're adding back per-person colors in
groups.
2018-10-09 15:34:08 -07:00
Greyson Parrelli
710fa4a6f0
Switch the conversation color back to incoming messages.
2018-10-09 15:34:04 -07:00
Greyson Parrelli
b1d653a230
Bump version to 4.28.1
v4.28.1
2018-10-08 10:20:47 -07:00
Greyson Parrelli
1b736e9e04
Ensure notifications are processed after receiving GCM message.
...
It's unreliable to run these tasks on WorkManager, as there's no
scheduling guarantees.
2018-10-08 10:00:15 -07:00