Greyson Parrelli
23804046c6
Always use new foreground service utils.
2022-11-30 17:10:36 -05:00
Greyson Parrelli
7949996c5c
Renamed database classes to table classes.
...
Because they're not databases. They're tables.
2022-11-30 17:10:36 -05:00
Nicholas
d678341399
Wrap DefaultAudioSink to tolerate init errors.
2022-11-10 10:15:10 -05:00
Nicholas Tinsley
b9f4dc3fe9
Specify exported status and PendingIntent mutability.
...
Also reduce shake sampling frequency, add coarse location permission.
Random things for targetSdk 32.
2022-09-28 11:33:35 -04:00
Nicholas
aa268fc3ba
Only show "Note To Self" as Voice Memo author if both sender and receiver are self.
2022-09-14 15:30:44 -04:00
Alex Hart
2743492076
Fix ISE when utilizing the ear piece for voice notes.
2022-08-29 10:09:28 -03:00
Alex Hart
cba1caa5be
Add audio focus handling to voice note playback.
2022-08-26 15:20:26 -03:00
Greyson Parrelli
fa55062510
Update ExoPlayer to 2.18.1
2022-08-24 17:09:01 -04:00
Alex Hart
4c5a88c6ca
Add logging around wakelock usage for voice notes player.
2022-07-21 13:18:20 -04:00
Alex Hart
370640eaef
Force voice note player to always be LTR.
2022-07-05 15:46:06 -04:00
Cody Henthorne
1129ca28fb
Revert "Disable voice note proximity sensor when using bluetooth headset. ( #2448 )"
...
This reverts commit 9c7a5e3cc8
.
2022-06-29 15:32:25 -04:00
Cody Henthorne
ed25be2e23
Fix couple more places where Note to Self should be used.
2022-06-29 15:32:25 -04:00
Alex Hart
9c7a5e3cc8
Disable voice note proximity sensor when using bluetooth headset. ( #2448 )
2022-06-28 15:42:14 -04:00
Alex Hart
1b471e163d
Implement new Material3 spec.
2022-06-02 11:52:10 -04:00
Alex Hart
2454b2e0db
Fix crash when trying to access media controller after activity is destroyed and reference is nullified.
2022-04-25 10:29:30 -03:00
Alex Hart
98fc3e5b0b
Log warning instead of throwing NPE for voice note controller.
2022-04-13 12:37:24 -03:00
Alex Hart
fc55be0916
Stop voice note on video playback.
2022-04-08 12:19:27 -04:00
Greyson Parrelli
0e4187b062
Use existing contact type for our linked entry. Add test to sample app.
...
Fixes #9431
Closes #9434
Co-authored-by: swatts <github@stargw.net>
2022-04-06 12:36:32 -04:00
Greyson Parrelli
057231b9c3
Update libsignal-client to 0.14.0
2022-03-17 12:12:56 -04:00
Alex Hart
eae6a971e6
Update volume output stream when audioAttributes change.
2022-03-08 10:41:37 -04:00
Rashad Sookram
e4d43ade93
Use context menu when selecting a message in chat.
2022-02-01 13:41:31 -05:00
Alex Hart
b2b51e63be
Wrap ConversationActivity code in a Fragment.
2022-01-24 12:04:48 -05:00
Alex Hart
34d4c910f7
Only notify voice note progress handler if activity is not null.
2021-12-08 15:07:22 -05:00
Greyson Parrelli
843ed24bbb
Introduce SignalDatabase as the main database entrypoint.
2021-11-18 12:36:52 -05:00
Greyson Parrelli
8511d3576f
Use the SignalServiceNetworkAccess from ApplicationDependencies.
2021-11-04 16:59:59 -04:00
Alex Hart
e02c8b9db7
Fix lifecycle of VoiceNoteProximityWakeLockManager.
2021-11-01 14:42:02 -04:00
Alex Hart
ff76c5fca5
Fix long name jitter as voice note position updates.
2021-10-05 11:08:42 -03:00
Alex Hart
a464e57079
Fix media session reconnect issue for some devices.
2021-09-27 09:28:53 -03:00
Alex Hart
93fd6e7a55
Fix issue with media controller lifecycle.
...
We were connecting and disconnecting in onStart and onStop,
which can get called in different orders depending on what the
system does. This results in sometimes trying to connect to an
already connected media session.
2021-09-21 10:09:43 -03:00
Greyson Parrelli
d5fbd10406
Create a SignalDataSource class for all of our ExoPlayer needs.
...
Also fixes an issue around GIF playback within a conversation.
2021-09-17 09:58:11 -04:00
Alex Hart
e419d70d51
Do not crash when we try to play from IDLE state.
2021-09-07 23:13:19 -04:00
Leonid Zavodnik
a6690e1bde
Update exoplayer version to v2.15
...
Fixes #11547
2021-09-02 21:24:54 -04:00
Alex Hart
a291732c1a
Check if already connected before connecting.
2021-08-13 13:58:38 -04:00
Alex Hart
de2c7d38bf
Fix NPE in proximity sensor management.
...
If a device either does not have a proximity sensor or has a
non-functioning sensor, we can hit an NPE as soon as we hit
MainActivity. This fix ensures proper handling if a sensor is
unavailable.
2021-08-06 11:32:03 -03:00
Alex Hart
c78e283084
Reimplement voice note proximity locking.
...
Proximity lock was tied to the VoiceNotePlaybackService instead of to the Activity, and it made for some strange code decisions. This rewrite now ties locking to the activity, where it should have been in the first place, and hopefully solves a few proximity / playback bugs on the way. In addition, it conforms to SRP better as it will send a command to the player to change the audio attributes as necessary instead of directly operating on a player instance.
2021-08-03 13:45:30 -03:00
Alex Hart
2d5492ffac
Add accessibility descriptions to voice note player view.
...
Fixes #11518
2021-08-03 13:45:30 -03:00
Alex Hart
fd115ebb72
Drop voice notes that do not have a URI.
2021-07-15 16:28:13 -04:00
Alex Hart
ff4f0b9f42
Stop voice note playback after user locks Signal.
2021-07-09 15:30:07 -04:00
Alex Hart
e584a90f81
Fix several voice note beta bugs.
...
* Sim label positioning
* Bad player state when navigating to and from conversations
* Scrolling date header placement
2021-07-09 15:29:40 -04:00
Alex Hart
14484deabe
Implement count-down in inline player.
2021-07-08 17:36:14 -04:00
Alex Hart
06b64fe619
Add inline voice note player to conversation and conversation list.
2021-07-07 14:58:51 -03:00
Greyson Parrelli
0921ebe5f1
Add read and viewed receipts to the MSL.
2021-07-07 14:58:50 -03:00
Alex Hart
5826b0c068
Implement drafts for voice notes.
2021-07-07 14:58:50 -03:00
Alex Hart
2d7c043398
Implement a playback speed toggle for voice notes.
2021-07-07 14:58:50 -03:00
Alex Hart
6d7e09fec1
Fix bug preventing VIEWED receipts from being sent to group recipients.
2021-06-10 16:52:24 -03:00
Greyson Parrelli
9b90e371f9
Inline viewed receipt feature flags.
2021-06-08 16:10:34 -04:00
Alex Hart
bcc5d485ab
Update chat colors.
2021-05-26 00:39:59 -04:00
Alex Hart
f2d5ea0391
Refactor app settings.
2021-05-12 12:23:00 -04:00
Alex Hart
ab44d608d2
Add support for sending and syncing viewed receipts behind a feature flag.
2021-04-28 16:36:11 -03:00
Alex Hart
281630e751
Add support for inline video playback of gifs in Conversation.
2021-04-21 16:43:38 -04:00