make TransportOptionsPopup a ListPopupWindow

disable circular reveal at least for now

Fixes #3600
Closes #3607
// FREEBIE
This commit is contained in:
Jake McGinty
2015-07-10 16:11:58 -07:00
committed by Moxie Marlinspike
parent e603142215
commit 35159ac456
3 changed files with 18 additions and 114 deletions

View File

@@ -50,7 +50,7 @@ public class SendButton extends ImageButton
}
private TransportOptionsPopup initializeTransportOptionsPopup() {
return new TransportOptionsPopup(getContext(), this);
return new TransportOptionsPopup(getContext(), this, this);
}
public boolean isManualSelection() {
@@ -92,7 +92,7 @@ public class SendButton extends ImageButton
@Override
public boolean onLongClick(View v) {
if (transportOptions.getEnabledTransports().size() > 1) {
transportOptionsPopup.display(getContext(), SendButton.this, transportOptions.getEnabledTransports());
transportOptionsPopup.display(transportOptions.getEnabledTransports());
return true;
}