summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Todd Lee <leetodd@google.com> 2024-12-02 19:02:30 +0000
committer Todd Lee <leetodd@google.com> 2024-12-02 19:09:16 +0000
commit04f0ee69f2bddd54375a2d7d6aa7570cdda0907b (patch)
treec236465b353d47a80f101f11c842f6e7f45e851a
parent49413be18de1575a438d580239582792b8fc9182 (diff)
Add method to access the View wrapped by the ViewUIComponent
Bug: b/352680005 Test: manual integration with tile launch Flag: NONE trivial Change-Id: I496db1b89ac2a6d6a055c04f14a594dfcf580637
-rw-r--r--packages/SystemUI/animation/lib/src/com/android/systemui/animation/ViewUIComponent.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/SystemUI/animation/lib/src/com/android/systemui/animation/ViewUIComponent.java b/packages/SystemUI/animation/lib/src/com/android/systemui/animation/ViewUIComponent.java
index cec740ad899b..0317d5f095a1 100644
--- a/packages/SystemUI/animation/lib/src/com/android/systemui/animation/ViewUIComponent.java
+++ b/packages/SystemUI/animation/lib/src/com/android/systemui/animation/ViewUIComponent.java
@@ -57,6 +57,14 @@ public class ViewUIComponent implements UIComponent {
mView = view;
}
+ /**
+ * @return the view wrapped by this UI component.
+ * @hide
+ */
+ public View getView() {
+ return mView;
+ }
+
@Override
public float getAlpha() {
return mView.getAlpha();