From ee8c81ee56d7315a6e2403788fe261d2399a6a54 Mon Sep 17 00:00:00 2001 From: Geoffrey Pitsch Date: Thu, 23 Mar 2017 11:38:56 -0400 Subject: [PATCH] Notification Inline strings for non-upgraded apps Also fix string typo - "1 of n notification categories" Test: runtest systemui Change-Id: I6f48f2ffde4896341ee0a435b9b1dc6a1255ea48 --- packages/SystemUI/res/values/strings.xml | 10 +++- .../systemui/statusbar/NotificationInfo.java | 58 ++++++++++--------- .../statusbar/NotificationInfoTest.java | 11 ++-- 3 files changed, 44 insertions(+), 35 deletions(-) diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index 6150965831be0..285ee3245a273 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -1347,11 +1347,15 @@ of notifications. Replaces the channel name and only appears when there is more than one channel. --> %d notification categories + + This app doesn\'t have notification categories + + defined, describing the current notification channel as "1 out of n notification categories from this app". --> - 1 out of %d category from this app - 1 out of %d categories from this app + 1 out of %d notification category from this app + 1 out of %d notification categories from this app