mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2026-08-11 16:32:53 +00:00
Proper Intent argument for LoadContacts activity
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user