summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ioana Alexandru <aioana@google.com> 2025-02-03 14:48:15 +0100
committer Ioana Alexandru <aioana@google.com> 2025-02-04 05:16:27 -0800
commit13fad8b6884014a60701fa20782649b12b8642dc (patch)
treecd0e03db8ae56d9729fc5f16f11ff949c94f28c6
parent21d235892329cd43f3de37e8a43d76e17e13d235 (diff)
[Notif redesign] Fix remote input history not appearing
There was an issue where remote input history would not appear at all except for notifications with the default style. This was because I'd accidentally updated the id in the xmls instead of the layout :/ I also renamed the layout now to better reflect what it actually is, improving disambiguation between this and the notification_template_smart_reply_container. Bug: 378660052 Test: visual test, screenshot tests to come later Flag: android.app.notifications_redesign_templates Change-Id: Icc62198cc02bda3010ea99b3db25713de8ba5a95
-rw-r--r--core/res/res/layout/notification_2025_reply_history_container.xml (renamed from core/res/res/layout/notification_2025_reply_container.xml)0
-rw-r--r--core/res/res/layout/notification_2025_template_expanded_base.xml2
-rw-r--r--core/res/res/layout/notification_2025_template_expanded_big_picture.xml4
-rw-r--r--core/res/res/layout/notification_2025_template_expanded_big_text.xml4
-rw-r--r--core/res/res/layout/notification_2025_template_expanded_inbox.xml10
-rw-r--r--core/res/res/layout/notification_2025_template_expanded_progress.xml4
6 files changed, 13 insertions, 11 deletions
diff --git a/core/res/res/layout/notification_2025_reply_container.xml b/core/res/res/layout/notification_2025_reply_history_container.xml
index 6923b59f34dc..6923b59f34dc 100644
--- a/core/res/res/layout/notification_2025_reply_container.xml
+++ b/core/res/res/layout/notification_2025_reply_history_container.xml
diff --git a/core/res/res/layout/notification_2025_template_expanded_base.xml b/core/res/res/layout/notification_2025_template_expanded_base.xml
index d364c659d0db..e12db2783191 100644
--- a/core/res/res/layout/notification_2025_template_expanded_base.xml
+++ b/core/res/res/layout/notification_2025_template_expanded_base.xml
@@ -67,7 +67,7 @@
</FrameLayout>
<ViewStub
- android:layout="@layout/notification_2025_reply_container"
+ android:layout="@layout/notification_2025_reply_history_container"
android:id="@+id/notification_material_reply_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/core/res/res/layout/notification_2025_template_expanded_big_picture.xml b/core/res/res/layout/notification_2025_template_expanded_big_picture.xml
index 12e11728f608..fac9d1c47f41 100644
--- a/core/res/res/layout/notification_2025_template_expanded_big_picture.xml
+++ b/core/res/res/layout/notification_2025_template_expanded_big_picture.xml
@@ -74,8 +74,8 @@
/>
<ViewStub
- android:layout="@layout/notification_material_reply_text"
- android:id="@+id/notification_2025_reply_container"
+ android:layout="@layout/notification_2025_reply_history_container"
+ android:id="@+id/notification_material_reply_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
diff --git a/core/res/res/layout/notification_2025_template_expanded_big_text.xml b/core/res/res/layout/notification_2025_template_expanded_big_text.xml
index c9dd868795de..4a807cb674c6 100644
--- a/core/res/res/layout/notification_2025_template_expanded_big_text.xml
+++ b/core/res/res/layout/notification_2025_template_expanded_big_text.xml
@@ -73,8 +73,8 @@
</com.android.internal.widget.RemeasuringLinearLayout>
<ViewStub
- android:layout="@layout/notification_material_reply_text"
- android:id="@+id/notification_2025_reply_container"
+ android:layout="@layout/notification_2025_reply_history_container"
+ android:id="@+id/notification_material_reply_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
diff --git a/core/res/res/layout/notification_2025_template_expanded_inbox.xml b/core/res/res/layout/notification_2025_template_expanded_inbox.xml
index 8434b3644f81..ccab02e312cc 100644
--- a/core/res/res/layout/notification_2025_template_expanded_inbox.xml
+++ b/core/res/res/layout/notification_2025_template_expanded_inbox.xml
@@ -116,10 +116,12 @@
android:layout_weight="1"
/>
</LinearLayout>
- <ViewStub android:layout="@layout/notification_material_reply_text"
- android:id="@+id/notification_2025_reply_container"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
+ <ViewStub
+ android:layout="@layout/notification_2025_reply_history_container"
+ android:id="@+id/notification_material_reply_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ />
<include layout="@layout/notification_template_smart_reply_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/core/res/res/layout/notification_2025_template_expanded_progress.xml b/core/res/res/layout/notification_2025_template_expanded_progress.xml
index 5d4fc4c87fac..87ded8975cb0 100644
--- a/core/res/res/layout/notification_2025_template_expanded_progress.xml
+++ b/core/res/res/layout/notification_2025_template_expanded_progress.xml
@@ -103,8 +103,8 @@
</FrameLayout>
<ViewStub
- android:layout="@layout/notification_material_reply_text"
- android:id="@+id/notification_2025_reply_container"
+ android:layout="@layout/notification_2025_reply_history_container"
+ android:id="@+id/notification_material_reply_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>