mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2026-08-24 14:45:34 +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) {
|
protected void onCreate(final Bundle savedInstanceState) {
|
||||||
super.onCreate(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
|
// accountName cannot be null, devel error
|
||||||
assert accountName != null;
|
assert accountName != null;
|
||||||
|
|||||||
Reference in New Issue
Block a user