From cecc69512d42ace84ea2de802e7c394c01beb24f Mon Sep 17 00:00:00 2001 From: Julia Reynolds Date: Fri, 17 Apr 2020 16:08:26 -0400 Subject: [PATCH] Update conversation bubble settings Test: atest Fixes: 153471239 Change-Id: If53571b17236e5f49a1750acc9816287f5de2b1a --- res/values/strings.xml | 6 +- .../conversation_notification_settings.xml | 24 +++++-- .../BubbleCategoryPreferenceController.java | 68 +++++++++++++++++++ .../app/BubbleLinkPreferenceController.java | 68 +++++++++++++++++++ .../app/ConversationNotificationSettings.java | 2 + 5 files changed, 160 insertions(+), 8 deletions(-) create mode 100644 src/com/android/settings/notification/app/BubbleCategoryPreferenceController.java create mode 100644 src/com/android/settings/notification/app/BubbleLinkPreferenceController.java diff --git a/res/values/strings.xml b/res/values/strings.xml index 341ac9075bc..e7bc9c4deef 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -8137,8 +8137,12 @@ Some notifications and other content can appear as bubbles on the screen. To open a bubble, tap it. To dismiss it, drag it down the screen. Bubbles + + All Bubble settings + + Bubble this conversation - New messages will appear on screen + Show floating icon on top of apps Allow %1$s to show some notifications as bubbles diff --git a/res/xml/conversation_notification_settings.xml b/res/xml/conversation_notification_settings.xml index be1c980a05c..c034eb5d6d8 100644 --- a/res/xml/conversation_notification_settings.xml +++ b/res/xml/conversation_notification_settings.xml @@ -32,13 +32,23 @@ settings:allowDividerAbove="true" settings:allowDividerBelow="true"/> - - + + + + + + + (mControllers); } }