Alex Hart
b9ffbb8e92
Fix issue where custom notifications were never enabled.
...
Older API levels do not have notification channel support, and
we were not checking this state to see if we should enable
the controls. Fix is to add a new controlsEnabled flag on the
state object and set it whenever we finish loading or when recp
changes.
2021-08-06 11:40:09 -03: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
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
Cody Henthorne
80e1b2c843
Bump version to 5.20.1
2021-08-05 16:08:17 -04:00
Cody Henthorne
7c2da69676
Updated language translations.
2021-08-05 16:02:58 -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
Alex Hart
3585667fb9
Bump version to 5.20.0
2021-08-04 13:39:31 -03:00
Alex Hart
b4ed088529
Updated language translations.
2021-08-04 13:38:59 -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
Fumiaki Yoshimatsu
9c71994804
Align text to "start" to show LTR text in RTL view correctly.
...
Fixes #11335
2021-08-04 10:29:03 -03:00
Sgn-32
654d98b0fe
Use getSimpleRelativeTimeSpanString in getCallDateString
2021-08-04 10:01:15 -03:00
Fumiaki Yoshimatsu
c06056d847
Force LTR layout in this view because the "playback" button should not be mirrored in RTL.
...
In this specific case, the drawable (triangle_right) used in this view
is _not_ autoMirrored which is correct. But the `layout_marginStart`
attribute adds the margin to the wrong side of the view that breaks the
appearance.
c.f. https://material.io/design/usability/bidirectionality.html#mirroring-elements
2021-08-04 09:44:56 -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
e374f3afe6
Bump version to 5.19.4
2021-08-03 13:34:33 -03:00
Alex Hart
58a2e50904
Updated language translations.
2021-08-03 13:33:55 -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
Greyson Parrelli
9d3a9fc675
Bump version to 5.19.3
2021-08-02 16:32:23 -04:00
Greyson Parrelli
8bddf5206c
Updated language translations.
2021-08-02 16:24:09 -04: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
Lucio Maciel
4a52532256
Require CALL_PHONE permission on VoiceCallShare activity.
...
Thanks to Jouni Hiltunen for the report
2021-08-02 16:19:39 -04:00
Alex Hart
93f541ceca
Fix issue where audio messages would hide their footer.
2021-08-02 16:19:39 -04:00
Cody Henthorne
e97a1b2cf6
Fix mixed theme use when system force dark is on.
...
Thanks to flodo from the forum for the help.
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