|
@ -181,6 +181,7 @@ public class DirectThreadViewModel extends AndroidViewModel { |
|
|
MediaUtils.getVoiceInfo(contentResolver, uri, new MediaUtils.OnInfoLoadListener<MediaUtils.VideoInfo>() { |
|
|
MediaUtils.getVoiceInfo(contentResolver, uri, new MediaUtils.OnInfoLoadListener<MediaUtils.VideoInfo>() { |
|
|
@Override |
|
|
@Override |
|
|
public void onLoad(@Nullable final MediaUtils.VideoInfo videoInfo) { |
|
|
public void onLoad(@Nullable final MediaUtils.VideoInfo videoInfo) { |
|
|
|
|
|
if (videoInfo == null) return; |
|
|
threadManager.sendVoice(data, |
|
|
threadManager.sendVoice(data, |
|
|
uri, |
|
|
uri, |
|
|
result.getWaveform(), |
|
|
result.getWaveform(), |
|
|