diff --git a/mobile/android/base/overlays/service/sharemethods/SendTab.java b/mobile/android/base/overlays/service/sharemethods/SendTab.java index 691684b23d5..fffa0baec60 100644 --- a/mobile/android/base/overlays/service/sharemethods/SendTab.java +++ b/mobile/android/base/overlays/service/sharemethods/SendTab.java @@ -206,6 +206,13 @@ public class SendTab extends ShareMethod { i++; } + if (validGUIDs.isEmpty()) { + // Guess we'd better override. We have no clients. + // This does the broadcast for us. + setOverrideIntent(FxAccountGetStartedActivity.class); + return; + } + Intent uiStateIntent = getUIStateIntent(); uiStateIntent.putExtra(EXTRA_CLIENT_RECORDS, records); broadcastUIState(uiStateIntent); @@ -230,6 +237,7 @@ public class SendTab extends ShareMethod { Intent uiStateIntent = getUIStateIntent(); uiStateIntent.putExtra(OVERRIDE_INTENT, intent); + broadcastUIState(uiStateIntent); } diff --git a/mobile/android/base/overlays/ui/SendTabDeviceListArrayAdapter.java b/mobile/android/base/overlays/ui/SendTabDeviceListArrayAdapter.java index 08f2beb7d13..32c6054ad88 100644 --- a/mobile/android/base/overlays/ui/SendTabDeviceListArrayAdapter.java +++ b/mobile/android/base/overlays/ui/SendTabDeviceListArrayAdapter.java @@ -112,24 +112,27 @@ public class SendTabDeviceListArrayAdapter extends ArrayAdapter