From 95e590229abdad9295b057e2ef7232bc02d3fdb5 Mon Sep 17 00:00:00 2001 From: vinayjoglekar Date: Mon, 12 Aug 2024 16:03:12 +0100 Subject: [PATCH] =?UTF-8?q?Announce=20=E2=80=9CDesktop=E2=80=9D=20when=20f?= =?UTF-8?q?ocusing=20on=20the=20desktop=20mode=20in=20Overview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://drive.google.com/file/d/1MNUyDtRhyU8tKRZ5JONLAeUBQ_8Vrids/view?usp=drive_link Test: NA BUG: 329375034 Flag: com.android.window.flags.enable_desktop_windowing_mode Change-Id: I36460002be94697746fb085e4aeca9a6ac804002 --- quickstep/res/layout/task_desktop.xml | 18 ++++++++---------- quickstep/res/values/strings.xml | 5 ++++- .../android/quickstep/views/DesktopTaskView.kt | 2 +- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/quickstep/res/layout/task_desktop.xml b/quickstep/res/layout/task_desktop.xml index 8c7090e41a..1564653733 100644 --- a/quickstep/res/layout/task_desktop.xml +++ b/quickstep/res/layout/task_desktop.xml @@ -1,5 +1,4 @@ - - - + launcher:hoverBorderColor="?attr/materialColorPrimary"> + android:inflatedId="@id/icon" /> diff --git a/quickstep/res/values/strings.xml b/quickstep/res/values/strings.xml index 037a0f6d72..d0f474ff04 100644 --- a/quickstep/res/values/strings.xml +++ b/quickstep/res/values/strings.xml @@ -26,9 +26,12 @@ Pin Freeform - + Desktop + + Desktop + No recent items diff --git a/quickstep/src/com/android/quickstep/views/DesktopTaskView.kt b/quickstep/src/com/android/quickstep/views/DesktopTaskView.kt index aa628f83cf..e242dfd7c6 100644 --- a/quickstep/src/com/android/quickstep/views/DesktopTaskView.kt +++ b/quickstep/src/com/android/quickstep/views/DesktopTaskView.kt @@ -94,7 +94,7 @@ class DesktopTaskView @JvmOverloads constructor(context: Context, attrs: Attribu context.theme ) ) - setText(resources.getText(R.string.recent_task_option_desktop)) + setText(resources.getText(R.string.recent_task_desktop)) } childCountAtInflation = childCount }