From d441d7d22efda8ad64780a629d2c5d59e916cb2c Mon Sep 17 00:00:00 2001 From: Vinit Nayak Date: Thu, 25 Jan 2024 13:28:06 -0800 Subject: [PATCH] Update split instructions text for contextual Test: Visually saw different string for contextual Bug: 322117067 Flag: aconfig com.android.wm.shell.enable_split_contextual Change-Id: I92b09bc47d29ba5dd83d09f78aaf8d67e855dd36 --- quickstep/res/values/strings.xml | 1 + .../src/com/android/quickstep/views/SplitInstructionsView.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/quickstep/res/values/strings.xml b/quickstep/res/values/strings.xml index 9aab0a131a..b23c283644 100644 --- a/quickstep/res/values/strings.xml +++ b/quickstep/res/values/strings.xml @@ -230,6 +230,7 @@ Split Tap another app to use split screen + Choose another app to use split screen Cancel Exit split screen selection diff --git a/quickstep/src/com/android/quickstep/views/SplitInstructionsView.java b/quickstep/src/com/android/quickstep/views/SplitInstructionsView.java index f39a9011cd..c4b93b7268 100644 --- a/quickstep/src/com/android/quickstep/views/SplitInstructionsView.java +++ b/quickstep/src/com/android/quickstep/views/SplitInstructionsView.java @@ -120,10 +120,12 @@ public class SplitInstructionsView extends LinearLayout { private void init() { TextView cancelTextView = findViewById(R.id.split_instructions_text_cancel); + TextView instructionTextView = findViewById(R.id.split_instructions_text); if (FeatureFlags.enableSplitContextually()) { cancelTextView.setVisibility(VISIBLE); cancelTextView.setOnClickListener((v) -> exitSplitSelection()); + instructionTextView.setText(R.string.toast_contextual_split_select_app); } }