Fix onNewIntent transport selection assertion

Fixes #4301
// FREEBIE
pull/1/head
Moxie Marlinspike 10 years ago
parent d4887e11be
commit 4371708fc4

@ -67,8 +67,13 @@ public class TransportOptions {
public void disableTransport(Type type) {
Optional<TransportOption> option = find(type);
if (option.isPresent()) {
enabledTransports.remove(option.get());
if (manuallySelected && type == selectedType) {
manuallySelected = false;
}
}
}

Loading…
Cancel
Save