Fix bad commit "Don't try to add empty call".
This commit is contained in:
parent
a491ecee82
commit
9280c8ea8e
1 changed files with 4 additions and 1 deletions
|
@ -873,7 +873,10 @@ public class ConferenceActivity extends ListActivity implements
|
||||||
((ToggleButton) findViewById(R.id.toggleMuteMic)).setChecked(false);
|
((ToggleButton) findViewById(R.id.toggleMuteMic)).setChecked(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
String uri = data.getStringExtra(UriPickerActivity.EXTRA_CALLEE_URI);
|
String uri = null;
|
||||||
|
if (data != null) {
|
||||||
|
uri = data.getStringExtra(UriPickerActivity.EXTRA_CALLEE_URI);
|
||||||
|
}
|
||||||
if (resultCode != RESULT_OK || TextUtils.isEmpty(uri)) {
|
if (resultCode != RESULT_OK || TextUtils.isEmpty(uri)) {
|
||||||
callToTransfer = null;
|
callToTransfer = null;
|
||||||
Toast.makeText(this, R.string.uri_picking_canceled, Toast.LENGTH_LONG).show();
|
Toast.makeText(this, R.string.uri_picking_canceled, Toast.LENGTH_LONG).show();
|
||||||
|
|
Loading…
Reference in a new issue