Merge "Use the correct FGS View when animating into a dialog" into tm-qpr-dev

This commit is contained in:
Jordan Demeulenaere
2023-01-12 09:44:04 +00:00
committed by Android (Google) Code Review

View File

@@ -219,9 +219,9 @@ object FooterActionsViewBinder {
// Small button with the number only. // Small button with the number only.
foregroundServicesWithTextView.isVisible = false foregroundServicesWithTextView.isVisible = false
foregroundServicesWithNumberView.visibility = View.VISIBLE foregroundServicesWithNumberView.isVisible = true
foregroundServicesWithNumberView.setOnClickListener { foregroundServicesWithNumberView.setOnClickListener {
foregroundServices.onClick(Expandable.fromView(foregroundServicesWithTextView)) foregroundServices.onClick(Expandable.fromView(foregroundServicesWithNumberView))
} }
foregroundServicesWithNumberHolder.number.text = foregroundServicesCount.toString() foregroundServicesWithNumberHolder.number.text = foregroundServicesCount.toString()
foregroundServicesWithNumberHolder.number.contentDescription = foregroundServices.text foregroundServicesWithNumberHolder.number.contentDescription = foregroundServices.text