Add tron metric logging

- one tracking id for every picker type

Bug: 73952488
Test: m RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datetime.timezone
Change-Id: Ia487f1657d6ed1f0fb40b61f39f4a47c38bd6179
This commit is contained in:
Victor Chang
2018-03-09 17:16:05 +00:00
parent ec9606addb
commit ab775e1b0f
5 changed files with 24 additions and 6 deletions

View File

@@ -119,5 +119,11 @@ public class BaseTimeZoneInfoPickerTest {
public Context getContext() {
return RuntimeEnvironment.application;
}
@Override
public int getMetricsCategory() {
// the metric id doesn't matter in test
return 1;
}
}
}