mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 20:08:34 +00:00
Log more data about video capture support.
This commit is contained in:
parent
a2204c8370
commit
695663a5b1
@ -3,6 +3,7 @@ package org.thoughtcrime.securesms.mediasend;
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.content.res.Configuration;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.view.GestureDetector;
|
||||
import android.view.LayoutInflater;
|
||||
@ -262,8 +263,10 @@ public class CameraXFragment extends Fragment implements CameraFragment {
|
||||
));
|
||||
displayVideoRecordingTooltipIfNecessary(captureButton);
|
||||
} catch (IOException e) {
|
||||
Log.w(TAG, "Video capture is not supported on this device.");
|
||||
Log.w(TAG, "Video capture is not supported on this device.", e);
|
||||
}
|
||||
} else {
|
||||
Log.i(TAG, "Video capture not supported. API: " + Build.VERSION.SDK_INT + ", MFD: " + MemoryFileDescriptor.supported());
|
||||
}
|
||||
|
||||
viewModel.onCameraControlsInitialized();
|
||||
|
Loading…
x
Reference in New Issue
Block a user