Merge "Generify arguments to AssistLogger" into rvc-dev am: 6650cd46aa am: 9fa201e0a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930643 Change-Id: I6557903a9735dd22ed40828cc2ddadbca1467232
This commit is contained in:
@@ -63,7 +63,7 @@ open class AssistLogger @Inject constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun reportAssistantInvocationEvent(
|
fun reportAssistantInvocationEvent(
|
||||||
invocationEvent: AssistantInvocationEvent,
|
invocationEvent: UiEventLogger.UiEventEnum,
|
||||||
assistantComponent: ComponentName? = null,
|
assistantComponent: ComponentName? = null,
|
||||||
deviceState: Int? = null
|
deviceState: Int? = null
|
||||||
) {
|
) {
|
||||||
@@ -86,7 +86,7 @@ open class AssistLogger @Inject constructor(
|
|||||||
reportAssistantInvocationExtraData()
|
reportAssistantInvocationExtraData()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun reportAssistantSessionEvent(sessionEvent: AssistantSessionEvent) {
|
fun reportAssistantSessionEvent(sessionEvent: UiEventLogger.UiEventEnum) {
|
||||||
val assistantComponent = getAssistantComponentForCurrentUser()
|
val assistantComponent = getAssistantComponentForCurrentUser()
|
||||||
val assistantUid = getAssistantUid(assistantComponent)
|
val assistantUid = getAssistantUid(assistantComponent)
|
||||||
uiEventLogger.logWithInstanceId(
|
uiEventLogger.logWithInstanceId(
|
||||||
|
|||||||
Reference in New Issue
Block a user