diff options
author | 2021-02-02 21:25:33 +0000 | |
---|---|---|
committer | 2021-02-02 21:25:33 +0000 | |
commit | f953deb8bc00b89f90a8211a293f526b9d4d9fa6 (patch) | |
tree | cd96fea7a51ce398f2134fe59eef4915a31a6fa5 | |
parent | 5ce8ae9c741387dd0edb8e8b6bcedd4da1fd6445 (diff) | |
parent | af92d3af645bb087edc6534676a763d4f21af76f (diff) |
Merge "NAS Feedback UI" into sc-dev
-rw-r--r-- | packages/SystemUI/res/values/strings.xml | 2 | ||||
-rw-r--r-- | packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/FeedbackInfoTest.java | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index 6c55291208c7..eee0128bb956 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -1888,7 +1888,7 @@ <!-- Notification Inline controls: describes how the notification was adjusted [CHAR_LIMIT=NONE] --> <string name="feedback_demoted">This notification was automatically <b>ranked lower</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> diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/FeedbackInfoTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/FeedbackInfoTest.java index 53ff957e4016..fe2f5f0237ea 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/FeedbackInfoTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/FeedbackInfoTest.java @@ -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 |