Merge "[Output Switcher] [Metric Logging] Add package name in Interaction event" into tm-qpr-dev

This commit is contained in:
Shaowei Shen
2022-09-16 01:08:03 +00:00
committed by Android (Google) Code Review

View File

@@ -107,7 +107,8 @@ public class MediaOutputMetricLogger {
SysUiStatsLog.write(
SysUiStatsLog.MEDIAOUTPUT_OP_INTERACTION_REPORT,
SysUiStatsLog.MEDIA_OUTPUT_OP_INTERACTION_REPORTED__INTERACTION_TYPE__ADJUST_VOLUME,
getInteractionDeviceType(source));
getInteractionDeviceType(source),
getLoggingPackageName());
}
/**
@@ -121,7 +122,8 @@ public class MediaOutputMetricLogger {
SysUiStatsLog.write(
SysUiStatsLog.MEDIAOUTPUT_OP_INTERACTION_REPORT,
SysUiStatsLog.MEDIA_OUTPUT_OP_INTERACTION_REPORTED__INTERACTION_TYPE__STOP_CASTING,
SysUiStatsLog.MEDIA_OUTPUT_OP_INTERACTION_REPORTED__TARGET__UNKNOWN_TYPE);
SysUiStatsLog.MEDIA_OUTPUT_OP_INTERACTION_REPORTED__TARGET__UNKNOWN_TYPE,
getLoggingPackageName());
}
/**
@@ -135,7 +137,8 @@ public class MediaOutputMetricLogger {
SysUiStatsLog.write(
SysUiStatsLog.MEDIAOUTPUT_OP_INTERACTION_REPORT,
SysUiStatsLog.MEDIA_OUTPUT_OP_INTERACTION_REPORTED__INTERACTION_TYPE__EXPANSION,
getInteractionDeviceType(source));
getInteractionDeviceType(source),
getLoggingPackageName());
}
/**