Fix NPE when entering account settings.
This commit is contained in:
parent
91f12b8d52
commit
cd1e207200
@ -94,7 +94,7 @@ public class AccountSettings extends PreferenceActivity {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Intent i = getIntent();
|
||||
if (i.getAction().equals(ACTION_ACCOUNT_MANAGER_ENTRY)) {
|
||||
if (ACTION_ACCOUNT_MANAGER_ENTRY.equals(i.getAction())) {
|
||||
// This case occurs if we're changing account settings from Settings -> Accounts
|
||||
setAccountIdFromAccountManagerIntent();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user