Alan Evans
a6890fc8dd
Video playback on TextureView and DepthPageTransformer.
2019-08-01 08:45:29 -04:00
Alan Evans
e0d1987445
Accessible call answering/rejecting and content descriptions.
2019-08-01 08:45:29 -04:00
Greyson Parrelli
17400020b7
Allow RuntimeExceptions thrown by Jobs to crash.
2019-07-31 09:54:46 -04:00
Alan Evans
e8e80e5d05
Transcode video during attachment upload.
2019-07-31 09:54:46 -04:00
Alan Evans
f9946083dd
Video transcoding.
2019-07-30 14:09:33 -04:00
Greyson Parrelli
a8c47b5091
Guard media reads with a permissions check.
2019-07-28 10:20:04 -04:00
Greyson Parrelli
4ca90374b9
Fix bug displaying an empty camera contacts search result.
2019-07-28 10:05:22 -04:00
Greyson Parrelli
cdfb88ea18
Some tweaks to the camera FAB.
2019-07-26 15:29:44 -04:00
Greyson Parrelli
1ec45fe364
Fix bug where search wasn't focused in contact select.
...
Introduced in c0a44c7fc3
.
Apparently targetSdk 28 changed the view focus model.
We have to manually focus this particular view now.
2019-07-26 15:06:09 -04:00
Alan Evans
81930a6833
Fix push challenge, Event bus needs public.
2019-07-25 11:19:21 -04:00
Greyson Parrelli
278ee79df0
Update camera-first contact display.
2019-07-25 10:10:32 -04:00
Greyson Parrelli
7f2a758400
Require contacts permission for camera-first flow.
...
Fixes #8950
2019-07-25 10:04:03 -04:00
Greyson Parrelli
27db9d06e4
Ensure media folder title is not null.
...
Fixes #8949
2019-07-24 19:31:52 -04:00
Greyson Parrelli
3d5cfb3c74
Remove some dead code.
2019-07-24 19:24:21 -04:00
Greyson Parrelli
df9186827c
Fix some UI issues with view-once photo receive.
2019-07-24 19:24:16 -04:00
Greyson Parrelli
eddff07eb8
Fix TimedEventManager crash in a sane way.
...
Follow up on acb48752c
.
Just have the subclass call that method to guarantee that everything is
initialized.
2019-07-24 11:24:52 -04:00
Greyson Parrelli
acb48752ce
Fix possible crash in RevealableMessageManager.
...
The crash happened because #getNextClosestEvent was called when
mmsDatabase was null, which would normally be impossible. However, it
seems implied that somehow #getNextClosestEvent was being called in the
parent constructor before the child class was fully initialized. That
would imply that the looper was called synchronously in some freak
scenario, but it's the only explanation. So I added a delay to the call
in the parent constructor.
```java
java.lang.NullPointerException:
at org.thoughtcrime.securesms.revealable.RevealableMessageManager.getNextClosestEvent (RevealableMessageManager.java:40)
at org.thoughtcrime.securesms.revealable.RevealableMessageManager.getNextClosestEvent (RevealableMessageManager.java:23)
at org.thoughtcrime.securesms.service.TimedEventManager.lambda$scheduleIfNecessary$1 (TimedEventManager.java:44)
at org.thoughtcrime.securesms.service.-$$Lambda$TimedEventManager$kZDO3F2WBQVtGx-SkAgEDt8jCeU.run (Unknown Source:2)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:193)
at android.os.HandlerThread.run (HandlerThread.java:65)
```
2019-07-23 09:39:15 -04:00
Greyson Parrelli
ba8597900a
Fix NPE in MediaSendActivity.
2019-07-23 09:39:15 -04:00
Alan Evans
c1f0253aa3
Resolve MissingSuperCall lint.
2019-07-23 09:35:23 -04:00
Alan Evans
d70d82c5ea
Make fragments public.
...
Fixes #8940
2019-07-23 08:56:07 -04:00
Greyson Parrelli
29b9d3f902
Fix crash when viewing "inbox zero" state.
2019-07-23 08:50:27 -04:00
Greyson Parrelli
1a85a9cb31
Fix media send HUD consistency issue.
...
Only affects people who have force-enabled revealable messages and then
gone back to a build that doesn't have it enabled.
2019-07-23 08:50:20 -04:00
Alan Evans
03b1eb4bd5
Prevent attempting to send push media messages to non-phone addresses.
...
Prevents crash loop in #8910
2019-07-22 23:16:01 -04:00
Greyson Parrelli
5c870ca8ea
Prevent sending revealable messages in Note to Self.
...
Send support isn't enabled yet, but didn't want to forget about it.
2019-07-22 23:16:01 -04:00
Greyson Parrelli
965de16de1
Fix possible hangup with CellServiceConstraint.
...
On phones with no SIM card, if you manage to enqueue a job with a
CellServiceConstraint, the previous check we were using to check if
there was cell service could hang indefinitely on some devices.
This changes it to a fast check, which all constraints should be.
2019-07-22 23:16:01 -04:00
Greyson Parrelli
a210ef3136
Added ability to save image captures to external storage.
2019-07-22 23:16:01 -04:00
Greyson Parrelli
beaa86389d
Implement camera-first capture flow.
...
This allows you to take a photo, then choose the recipients after. This
also makes it so we only upload the attachment once.
2019-07-22 23:15:50 -04:00
Greyson Parrelli
4fbb87b5b7
Created a new SectionedRecyclerViewAdapter.
2019-07-22 20:55:31 -04:00
Sebastian Kürten
76d1382d9a
Fix some Javadoc typos
2019-07-22 20:55:31 -04:00
Alan Evans
79a142c1be
Refactor media preview to use fragments.
2019-07-22 20:55:26 -04:00
Greyson Parrelli
dd66e22443
Ensure that camera captures have correct dimensions.
2019-07-18 16:10:59 -04:00
Greyson Parrelli
c77809fa90
Add support for view-once messages.
2019-07-18 16:10:10 -04:00
Greyson Parrelli
9f7bb69341
Update the media send flow with a persistent rail.
2019-07-18 11:04:14 -04:00
Alan Evans
b58faf4fd1
Change settings transitions.
2019-07-18 10:29:27 -04:00
Greyson Parrelli
73bb7873e1
Log FCM notification delay.
2019-07-17 17:07:32 -04:00
Greyson Parrelli
475c54213d
Move from dagger to a service locator pattern.
2019-07-17 16:12:53 -04:00
Alan Evans
8d6f1341f1
Reduce resolution of image editor preview and make memory efficiencies.
...
Fixes #8929
2019-07-17 15:05:19 -04:00
Alan Evans
80d0ba31ca
Specify locale in some String.formats.
2019-07-17 14:07:39 -04:00
Alan Evans
c7bfede74c
Do not use Canvas size.
2019-07-17 14:07:20 -04:00
Greyson Parrelli
c902d17f98
Remove additional log information that is not necessary for debugging purposes.
2019-07-16 19:24:51 -04:00
Greyson Parrelli
6c31d656dd
Fix queueKey for SmsSendJob.
2019-07-16 19:19:56 -04:00
Greyson Parrelli
34e8d5ac57
Ignore whitespace when determining if we show jumbomoji.
2019-07-15 16:02:51 -04:00
Alan Evans
5b61c8ac18
Request a push challenge and supply to SMS and voice verification.
2019-07-10 16:59:08 -04:00
Alan Evans
d72d4c4c41
Update libsignal to 2.13.5
2019-07-10 15:19:23 -04:00
Greyson Parrelli
5a1464c069
Remove pending messages notification.
2019-07-10 14:38:28 -04:00
Greyson Parrelli
c2ec09f079
Remove AttachmentServer.
2019-07-03 19:04:17 -04:00
Greyson Parrelli
8a8817f8d3
Remove video player usage of AttachmentServer.
2019-07-03 19:04:17 -04:00
Greyson Parrelli
a5368b7ea9
Remove audio player usage of AttachmentServer.
...
Now that we use ExoPlayer, it's no longer needed.
2019-07-03 19:04:17 -04:00
Greyson Parrelli
d8a75d599d
Update emoji.
2019-07-03 19:04:17 -04:00
Greyson Parrelli
b66e0e7e32
Fix incorrect EditorModel being restored.
2019-07-03 11:51:22 -04:00