summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Demeulenaere <jdemeulenaere@google.com>2023-01-11 13:03:25 +0100
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-01-20 00:39:57 +0000
commitf53c15d046b5090ce565b6ec6eb175f6d5c75242 (patch)
tree09538c4a145bb22763ecfc87a8f250f958ef4fd0
parentfd6c648b094fc3fb8f1c622fdd6408f72f769a7c (diff)
downloadbase-f53c15d046b5090ce565b6ec6eb175f6d5c75242.tar.gz
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 (cherry picked from commit 0e7b6e534c1a818d1539e12d2febe2d26b7fa026) Merged-In: Id686279bbfc1e47e28da894342688d44183ebf42
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/footer/ui/binder/FooterActionsViewBinder.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/footer/ui/binder/FooterActionsViewBinder.kt b/packages/SystemUI/src/com/android/systemui/qs/footer/ui/binder/FooterActionsViewBinder.kt
index 30f81243e8d0..19215867e678 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/footer/ui/binder/FooterActionsViewBinder.kt
+++ b/packages/SystemUI/src/com/android/systemui/qs/footer/ui/binder/FooterActionsViewBinder.kt
@@ -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