Commit Graph

22 Commits (c5114e2cb3f6760faa70d851266fbe7fab25ba36)

Author SHA1 Message Date
Greyson Parrelli c5114e2cb3 Updated to WebRTC M71. 6 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
Greyson Parrelli 43068e0613 Reduce usage of Log.w() 7 years ago
Greyson Parrelli a498176043 Switch logs to use new Log class. 7 years ago
Greyson Parrelli ca8fecea9c Clean up camera flipping, handle having missing cameras.
Did a refactor to better organize the camera flipping code. Also, I
wanted to make sure we handle the cases where the user doesn't have two
cameras (or no cameras, for that matter). In these cases, we just don't
show the appropriate buttons.
7 years ago
Niklas Hambüchen f1c79eaebf Add button to flip camera (front vs rear). Fixes #6279 7 years ago
Moxie Marlinspike 64c8b4b2ef Support for selective permissions 7 years ago
Moxie Marlinspike 86bd2351bc Replace answer/decline button and action for incoming calls
Fixes #7199
8 years ago
Moxie Marlinspike 737810475e Remove the Canonical Address Database
This was a holdover from Signal's origins as a pure SMS app.
It causes problems, depends on undefined device specific behavior,
and should no longer be necessary now that we have all the
information we need to E164 all numbers.

// FREEBIE
8 years ago
Moxie Marlinspike 76c28cfa7a Add support for SN verification
// FREEBIE
8 years ago
Moxie Marlinspike cd55feb2b9 Update signal-service to 2.5.9
// FREEBIE
8 years ago
Moxie Marlinspike d507756821 Some identity key handling changes
1) Prefetch identity keys when possible

2) Always accept prefetched keys or keys from incoming messages

3) Block sending only if it's a recent change, or if always
   block is enabled

// FREEBIE
8 years ago
Moxie Marlinspike cd28cd172f Refactor webrtc audio management
Attempts to:

1) Successfully play ringtone through speaker instead of earpiece
   when possible.

2) Manage bluetooth headset connectivity as well as possible

3) Eliminate notification sounds while in-call when possible

4) Make sure audio is correctly setup when receiving calls

Fixes #6271
Fixes #6248
Fixes #6238
Fixes #6184
Fixes #6169

// FREEBIE
8 years ago
Moxie Marlinspike 1b1470aae2 Upgrade to EventBus 3.X
// FREEBIE
8 years ago
Moxie Marlinspike d92cbfe305 More intelligent default behavior with speakerphone and wired headset
When video is enabled, speakerphone is now enabled unless
there's a wired headset.  If speakerphone is enabled and
a wired headset gets plugged in, speakerphone is disabled.
If video is enabled and a wired headset is removed, speakerphone
is enabled.

Fixes #6153
// FREEBIE
8 years ago
Moxie Marlinspike 5cfd7477ab Keep websocket connection open during call
// FREEBIE
8 years ago
Moxie Marlinspike 0992d6545e Don't sleep screen in calls
Fixes #6141
// FREEBIE
8 years ago
Moxie Marlinspike 7d644ae9c6 Run local hangup events through view model
Fixes #6143
// FREEBIE
8 years ago
Moxie Marlinspike 9a93a8b28d Better support for building webrtc call view off of model
Fixes #6144
// FREEBIE
8 years ago
Moxie Marlinspike ea0945d406 Beta support for webrtc video and voice calling
// FREEBIE
8 years ago