nielsandriesse
e6e5cb5adb
Clean
2020-05-19 16:26:11 +10:00
nielsandriesse
deb2fff0ae
Refactor ApplicationContext
2020-05-14 09:35:34 +10:00
nielsandriesse
819f414446
Clean & debug
2020-05-13 09:07:51 +10:00
nielsandriesse
32ae74c442
Re-order files
2020-05-12 11:46:11 +10:00
nielsandriesse
8e53383ab9
Clean
2020-05-12 10:46:58 +10:00
nielsandriesse
ed2ab2d78a
Refactor
2020-05-11 16:19:26 +10:00
nielsandriesse
8d50998ea1
Partially update for core changes
2020-05-07 17:59:41 +10:00
nielsandriesse
669e8b9f6b
Fix FCM token updating bug
2020-04-17 13:26:11 +10:00
nielsandriesse
0a3dbc55a8
Integrate push notifications
2020-04-17 12:11:27 +10:00
nielsandriesse
84c783fae1
Minor refactoring
2020-04-16 16:56:12 +10:00
ryanzhao
b72048d9a4
add FCM to app for remote push notification
2020-04-15 10:24:30 +10:00
gmbnt
94549724a9
Fix Signal UI coming up in some cases
2020-03-23 10:49:25 +11:00
Mikunj Varsani
e484a95fcb
Remove DirectoryRefresh.
...
This was causing crashes on some devices and it's used for accessing contacts on a device which we don't need.
2020-03-13 09:46:28 +11:00
Mikunj Varsani
34ef29a645
Remove account authenticator.
...
Remove unused listeners.
2020-03-12 09:23:39 +11:00
Mikunj
a57bf0cd98
Remove un-used permissions.
2020-02-27 15:44:57 +11:00
Mikunj
439d39e380
Add cache for master secret. This will stop unnecessary database calls.
2019-11-27 13:17:16 +11:00
Mikunj
f6b039ee77
Disabled unused permissions
2019-10-31 16:09:29 +11:00
Niels Andriesse
1822e87f7c
Merge Signal 4.41.0
2019-08-07 16:48:54 +10:00
Niels Andriesse
0ef0140b0d
Update package
2019-07-24 12:30:23 +10:00
Niels Andriesse
1b7a04ab50
Update notification & app switcher icon
2019-07-24 09:51:09 +10:00
Niels Andriesse
dd67e59807
Fix pre key usage
2019-06-26 14:31:38 +10:00
Niels Andriesse
169a7e609e
Propagate message ID
2019-06-24 16:00:15 +10:00
Alan Evans
e5f70bdbda
End RTC call on incoming PSTN call.
...
* Hangs up when new device call is answered.
* Ensure not on a device call when starting a Signal call.
2019-05-23 16:56:05 -03:00
Alan Evans
10ad3fbf82
Lint - Use easily identifiable wake lock tags.
2019-05-20 13:24:34 -03:00
Alan Evans
18531146f7
Update the sticky EventBus message to reflect changes in microphone enabled state.
...
Fixes #7827
2019-05-06 16:45:30 -07:00
Greyson Parrelli
4a3c173adb
Migrated to new JobManager.
2019-04-15 10:56:26 -04:00
Greyson Parrelli
8caaf057e8
Remove unnecessary pre-19 code branches.
...
Now that our minSdk is 19, we can remove a lot of old code paths that
only ran pre-19.
2019-03-21 11:19:06 -07:00
Moxie Marlinspike
a52c295a38
Simplify access to SecureRandom
...
This shouldn't matter at all, but it's more "correct," and shows
my age less.
2019-03-21 11:19:06 -07:00
Greyson Parrelli
9797c54a4d
Removed sonar ping from calls.
...
People rarely understood what it meant, and the information is available
on the screen if-needed ('dialing' vs 'ringing').
2019-01-30 16:10:47 -08:00
Greyson Parrelli
c5114e2cb3
Updated to WebRTC M71.
2019-01-30 16:10:47 -08:00
Greyson Parrelli
d482c60a98
Switch from GCM to FCM.
2019-01-30 16:10:47 -08:00
Greyson Parrelli
3b67382f67
Remove call log permissions, use SMS Retriever API during registration.
...
This is to adhere to the Play Store policy updates.
See: https://play.google.com/about/privacy-security-deception/permissions/
2019-01-13 19:25:40 -08:00
Greyson Parrelli
40f9b32a75
Fix tap-to-upgrade on website releases.
...
Tested on Android 9.0, 7.0, and 5.1.
Fixes #7936
2019-01-13 19:08:33 -08:00
Greyson Parrelli
e665252b86
Add more logging to GenericForegroundService.
2018-11-21 01:55:30 -08:00
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
2018-11-13 15:07:33 -08:00
Greyson Parrelli
1ab3d57378
Fix some places where we were using the Android Logger.
...
We pretty much always want to be using our own logger.
2018-11-06 09:22:25 -08: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
dfe8b25dd7
Use a unique notification icon for the persistent background connection.
2018-10-27 23:32:28 -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
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
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
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
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
Greyson Parrelli
dbd42c4af2
Add notification channel support.
...
Bucket our notifications into channels. Required to target API 26.
2018-08-13 18:38:53 -04:00
Greyson Parrelli
43068e0613
Reduce usage of Log.w()
2018-08-06 10:50:06 -04:00
Greyson Parrelli
a498176043
Switch logs to use new Log class.
2018-08-06 10:50:06 -04:00
Moxie Marlinspike
fbd3f3db3f
Update webrtc to M68
2018-07-24 17:06:43 -07:00