kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix potential tooltip crash.
rodzic
cfb22825f4
commit
bfd0363390
|
@ -301,7 +301,10 @@ public class CameraXFragment extends Fragment implements CameraFragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void neverDisplayVideoRecordingTooltipAgain() {
|
private void neverDisplayVideoRecordingTooltipAgain() {
|
||||||
TextSecurePreferences.setHasSeenVideoRecordingTooltip(requireContext(), true);
|
Context context = getContext();
|
||||||
|
if (context != null) {
|
||||||
|
TextSecurePreferences.setHasSeenVideoRecordingTooltip(requireContext(), true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void hideAndDisableControlsForVideoRecording(@NonNull View captureButton,
|
private void hideAndDisableControlsForVideoRecording(@NonNull View captureButton,
|
||||||
|
|
Ładowanie…
Reference in New Issue