use of org.thoughtcrime.securesms.TransportOptions in project Signal-Android by signalapp.
the class SendButton method initializeTransportOptions.
private TransportOptions initializeTransportOptions(boolean media) {
if (isInEditMode())
return null;
TransportOptions transportOptions = new TransportOptions(getContext(), media);
transportOptions.addOnTransportChangedListener(this);
setOnLongClickListener(this);
return transportOptions;
}
Aggregations