Fix NPE when logging start intent.
Change-Id: I3a19131b879b4d52644bfb43292434917d30b423 Fix: 34774945 Test: make RunSettingsRoboTests
This commit is contained in:
@@ -118,6 +118,7 @@ public class MetricsFeatureProvider {
|
||||
}
|
||||
action(context, MetricsProto.MetricsEvent.ACTION_SETTINGS_TILE_CLICK, action,
|
||||
Pair.create(MetricsProto.MetricsEvent.FIELD_CONTEXT, sourceMetricsCategory));
|
||||
return;
|
||||
} else if (TextUtils.equals(cn.getPackageName(), context.getPackageName())) {
|
||||
// Going to a Setting internal page, skip click logging in favor of page's own
|
||||
// visibility logging.
|
||||
|
Reference in New Issue
Block a user