Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53eb01bc authored by Vinit Nayak's avatar Vinit Nayak Committed by Android (Google) Code Review
Browse files

Merge "Update split instructions text for contextual" into main

parents af7ff567 d441d7d2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -230,6 +230,7 @@
    <string name="action_split">Split</string>
    <!-- Label for toast with instructions for split screen selection mode. [CHAR_LIMIT=50] -->
    <string name="toast_split_select_app">Tap another app to use split screen</string>
    <string name="toast_contextual_split_select_app">Choose another app to use split screen</string>
    <string name="toast_split_select_app_cancel"><b>Cancel</b></string>
    <string name="toast_split_select_cont_desc">Exit split screen selection</string>
    <!-- Label for toast when app selected for split isn't supported. [CHAR_LIMIT=50] -->
+2 −0
Original line number Diff line number Diff line
@@ -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);
        }
    }