Use the correct FGS View when animating into a dialog
This CL fixes the View that is used when showing the Foreground Services dialog. Test: Click the FGS button when the Security button is also shown. Bug: 264728445 Change-Id: Id686279bbfc1e47e28da894342688d44183ebf42
This commit is contained in:
@@ -219,9 +219,9 @@ object FooterActionsViewBinder {
|
||||
// Small button with the number only.
|
||||
foregroundServicesWithTextView.isVisible = false
|
||||
|
||||
foregroundServicesWithNumberView.visibility = View.VISIBLE
|
||||
foregroundServicesWithNumberView.isVisible = true
|
||||
foregroundServicesWithNumberView.setOnClickListener {
|
||||
foregroundServices.onClick(Expandable.fromView(foregroundServicesWithTextView))
|
||||
foregroundServices.onClick(Expandable.fromView(foregroundServicesWithNumberView))
|
||||
}
|
||||
foregroundServicesWithNumberHolder.number.text = foregroundServicesCount.toString()
|
||||
foregroundServicesWithNumberHolder.number.contentDescription = foregroundServices.text
|
||||
|
||||
Reference in New Issue
Block a user