Avoid NPE when logging the entry point to Settings
The populator class that serializes the proto uses a switch and throws an NPE. Bug:19911288 Change-Id: Id0fa371b3c64e706e14a13bb6e643406f94be035main
parent
cb27c4fe2e
commit
2fb8e5eecf
|
@ -50,7 +50,7 @@ public final class SettingsActivity extends PreferenceActivity {
|
|||
}
|
||||
StatsUtils.onSettingsActivity(
|
||||
intent.hasExtra(EXTRA_ENTRY_KEY) ? intent.getStringExtra(EXTRA_ENTRY_KEY)
|
||||
: intent.getStringExtra(EXTRA_ENTRY_VALUE_SYSTEM_SETTINGS));
|
||||
: EXTRA_ENTRY_VALUE_SYSTEM_SETTINGS);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue