Merge "Avoid NPE when logging the entry point to Settings"

This commit is contained in:
Jatin Matani 2015-03-24 19:57:08 +00:00 committed by Android (Google) Code Review
commit 3b0c2eb09f

View file

@ -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