summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-12-03 20:21:39 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-12-03 20:21:39 +0000
commit616f467b283624ee3fbef9169e83c0b93235095c (patch)
treeca0374a029063f5473bd23ff4d9dfc8c0d318a1d
parent70667301655c76bc9e9091bd33fad63b9eec9a5c (diff)
parent04f0ee69f2bddd54375a2d7d6aa7570cdda0907b (diff)
Merge "Add method to access the View wrapped by the ViewUIComponent" into main
-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();