mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-25 16:56:23 +00:00
Proper Intent argument for LoadContacts activity
This commit is contained in:
parent
31a8a5b968
commit
9d2d76a606
@ -12,7 +12,9 @@ public class ContactListActivity extends ListActivity {
|
||||
protected void onCreate(final Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
final String accountName = savedInstanceState.getString("account");
|
||||
assert getIntent().getExtras() != null;
|
||||
|
||||
final String accountName = getIntent().getExtras().getString("account");
|
||||
|
||||
// accountName cannot be null, devel error
|
||||
assert accountName != null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user