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
c9597ef8dc
Fix several small bugs with foldable calling.
...
* Set proper aspect ratio of pip in landscape mode.
* Fix some fade and adjustment from new UI states.
2021-08-06 11:27:27 -03:00
Greyson Parrelli
a9bbee3880
Trim logs submitted via help and shake2report.
2021-08-05 18:23:20 -04:00
Greyson Parrelli
2bac1a7707
Fix race condition that could show an empty link preview after send.
2021-08-05 17:45:14 -04:00
Alex Hart
f25e8d602b
Rewrite ContactSelectionListItem to utilize ConstraintLayout.
2021-08-05 16:42:32 -03:00
Greyson Parrelli
b9c6c6b0f4
Include additional logging to assist in debugging.
2021-08-05 16:42:32 -03:00
Alex Hart
164f39e376
Fix issue where group count flashes in contact selection item.
2021-08-05 16:42:32 -03:00
Greyson Parrelli
49190125ef
Locally track conversation open time.
2021-08-05 16:42:32 -03:00
Fumiaki Yoshimatsu
555e65d3ee
Try a little harder to find a place to store the file before accepting a directory path that may not exist.
...
Fixes #11505
2021-08-05 16:42:32 -03:00
Greyson Parrelli
89b1243885
Add the "My Daily Life" sticker pack by Plastic Thing.
2021-08-05 16:42:32 -03:00
Cody Henthorne
3fca46de92
Alleviate database contention when archiving threads.
2021-08-05 16:42:32 -03:00
Alex Hart
aa0d7c218f
Stage secure outgoing message instead of unwrapped.
2021-08-05 16:42:32 -03:00
Greyson Parrelli
2b5b664a8f
Update sender key flag.
2021-08-05 16:42:32 -03:00
Greyson Parrelli
784c373a0e
Locally track message send time.
2021-08-05 16:42:32 -03:00
Alex Hart
37ae740138
Hide reveal dot if sender and recvr are both self.
2021-08-05 16:42:32 -03:00
Alex Hart
fe9b8a9f47
Replace with new custom notifications page.
2021-08-05 16:42:32 -03:00
Greyson Parrelli
bdcf390e6e
Verify a member is still in the group before using sender key.
2021-08-04 10:55:44 -04:00
Greyson Parrelli
c7551881b8
Update handling of unrestricted UD access.
2021-08-04 10:36:49 -04:00
Greyson Parrelli
c131754874
Add a system for locally tracking performance on-device.
2021-08-04 10:01:14 -04:00
Alex Hart
c6c4988583
Apply proper rules for foldable aspect scaling in landscape and tabletop modes.
2021-08-04 10:57:21 -03:00
Alex Hart
d43f044eb4
Add logic to only dismiss header views when in tabletop mode.
2021-08-04 10:53:53 -03:00
Sgn-32
654d98b0fe
Use getSimpleRelativeTimeSpanString in getCallDateString
2021-08-04 10:01:15 -03:00
Cody Henthorne
615fbf87c9
Improve thread update performance by avoiding costly join query.
2021-08-03 14:33:14 -04:00
Alex Hart
aca3d150bf
Never display unplayed dot in note-to-self.
...
Fixes #11515
2021-08-03 13:45:30 -03:00
Cody Henthorne
6eae2d39a8
Improve thread update performance by removing need for message count.
2021-08-03 13:45:30 -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
Cody Henthorne
2830132b24
Reduce time to start PushTextSendJob.
2021-08-03 13:45:30 -03:00
Alex Hart
be29dce7b7
Add lint suppression for API31 bluetooth permissions.
2021-08-03 13:33:54 -03:00
Lucio Maciel
e58b617689
Revert grouping body+footer
2021-08-03 11:52:22 -03:00
Alex Hart
0ac234e7bf
Wrap calls in separate checks for ISE so we do as many as possible.
2021-08-02 16:19:43 -04:00
Alex Hart
290f84e5b1
Ensure correct local device rotation information is retained when starting a call.
2021-08-02 16:19:43 -04:00
Alex Hart
149c138666
Fix negative audio message duration.
2021-08-02 16:19:43 -04:00
Cody Henthorne
065a39992a
Fix crash when encountering null PendingIntent.
2021-08-02 16:19:43 -04:00
Alex Hart
93f541ceca
Fix issue where audio messages would hide their footer.
2021-08-02 16:19:39 -04:00
Alex Hart
f6b46f921c
Fix issue where emojis would not appear on app launch.
2021-08-02 16:19:39 -04:00
AsamK
5fef0494b1
Fix crash with untitled sticker pack in sticker keyboard.
2021-08-02 16:19:39 -04:00
Alex Hart
3b8eac0b8d
Disable registration lock toggle and pin reminder toggle if user does not have a pin.
2021-08-02 16:19:39 -04:00
Alex Hart
52978b1b42
Ensure landscape operation is only enabled on foldable displays.
2021-08-02 16:19:39 -04:00
Greyson Parrelli
922d0d7203
Stop showing empty group updates for internal users.
2021-08-01 00:26:20 -04:00
Greyson Parrelli
c1c9ca7c4c
Give the service direct knowledge of linked device status.
2021-07-30 17:39:29 -04:00
Greyson Parrelli
d40bb2d9ee
Clear all sender key knowledge for a device after a 409/410.
2021-07-30 13:17:43 -04:00
Greyson Parrelli
7c8549bf5e
Don't unnecessarily create threads for groups.
2021-07-30 12:27:28 -04:00
Greyson Parrelli
d7011e3353
Improve clarity around time conversions.
2021-07-29 16:24:20 -04:00
Cody Henthorne
9af966b030
Improve width calculation for span count.
2021-07-29 15:57:57 -04:00
Lucio Maciel
a46accfcc0
Fix link preview margins
2021-07-29 16:47:28 -03:00
Lucio Maciel
c0c4092cd9
Update view-once messages
2021-07-29 16:46:32 -03:00
Cody Henthorne
9398716848
Improve speed of sending single messages.
2021-07-29 14:07:39 -04:00
Greyson Parrelli
25234496bf
Add support for announcement groups.
2021-07-28 17:21:19 -04:00
Greyson Parrelli
3cc2cd0b17
Add support for signal.me links.
2021-07-28 11:58:03 -04:00