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

Commit f953deb8 authored by Chloris Kuo's avatar Chloris Kuo Committed by Android (Google) Code Review
Browse files

Merge "NAS Feedback UI" into sc-dev

parents 5ce8ae9c af92d3af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1888,7 +1888,7 @@
    <!-- Notification Inline controls: describes how the notification was adjusted [CHAR_LIMIT=NONE] -->
    <string name="feedback_demoted">This notification was automatically &lt;b>ranked lower&lt;/b> in your shade.</string>
    <!-- Notification Inline controls: prompts the user for feedback [CHAR_LIMIT=NONE] -->
    <string name="feedback_prompt">Was this correct?</string>
    <string name="feedback_prompt">Let the developer know your feedback. Was this correct?</string>
    <!-- Notification Inline controls: responds to user provided feedback [CHAR_LIMIT=NONE] -->
    <string name="feedback_response">Thanks for your feedback!</string>
    <string name="feedback_ok">OK</string>
+7 −4
Original line number Diff line number Diff line
@@ -146,7 +146,8 @@ public class FeedbackInfoTest extends SysuiTestCase {
                mAssistantFeedbackController);
        TextView prompt = mFeedbackInfo.findViewById(R.id.prompt);
        assertEquals("This notification was automatically demoted to Silent by the system. "
                        + "Was this correct?", prompt.getText().toString());
                        + "Let the developer know your feedback. Was this correct?",
                        prompt.getText().toString());
    }

    @Test
@@ -157,7 +158,8 @@ public class FeedbackInfoTest extends SysuiTestCase {
                mAssistantFeedbackController);
        TextView prompt = mFeedbackInfo.findViewById(R.id.prompt);
        assertEquals("This notification was automatically ranked higher in your shade. "
                        + "Was this correct?", prompt.getText().toString());
                        + "Let the developer know your feedback. Was this correct?",
                        prompt.getText().toString());
    }

    @Test
@@ -168,7 +170,7 @@ public class FeedbackInfoTest extends SysuiTestCase {
                mAssistantFeedbackController);
        TextView prompt = mFeedbackInfo.findViewById(R.id.prompt);
        assertEquals("This notification was automatically promoted to Default by the system. "
                        + "Was this correct?",
                        + "Let the developer know your feedback. Was this correct?",
                prompt.getText().toString());
    }

@@ -180,7 +182,8 @@ public class FeedbackInfoTest extends SysuiTestCase {
                mAssistantFeedbackController);
        TextView prompt = mFeedbackInfo.findViewById(R.id.prompt);
        assertEquals("This notification was automatically ranked lower in your shade. "
                        + "Was this correct?", prompt.getText().toString());
                        + "Let the developer know your feedback. Was this correct?",
                        prompt.getText().toString());
    }

    @Test