From 71869175cd3b19fa4ca92e200e9c5d6d30ce2848 Mon Sep 17 00:00:00 2001 From: Mady Mellor Date: Thu, 19 Mar 2020 13:15:35 -0700 Subject: [PATCH] Update strings for bubbles - Adds some user education strings that aren't used yet, that'll be fixed in a follow up - Removes some strings that aren't ever used Test: treehugger Bug: 151965589 Change-Id: I31a4dcb518b37505ed07fc2d454ddfec7598fb01 --- packages/SystemUI/res/values/strings.xml | 26 +++++++------------ .../systemui/bubbles/BubbleStackView.java | 5 ---- 2 files changed, 10 insertions(+), 21 deletions(-) diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index 35430733a118a..a1b4abbcfe47a 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -1808,7 +1808,7 @@ No recent bubbles - Recent bubbles and dismissed bubbles will appear here. + Recent bubbles and dismissed bubbles will appear here These notifications can\'t be modified. @@ -2556,23 +2556,11 @@ Tap to restart this app and go full screen. - - Open %1$s Settings for %1$s bubbles - - Allow bubbles from %1$s? Manage - - Deny - - Allow - - Ask me later %1$s from %2$s @@ -2589,12 +2577,18 @@ Move bottom right Dismiss + + Don\u2019t bubble conversation - Keep chats up front + Chat using bubbles - New chats from %1$s will appear as bubbles. Tap a bubble to open it. Drag to move it.\n\nTap the bubble - + New conversations appear as floating icons, or bubbles. Tap to open bubble. Drag to move it. + + Control bubbles anytime + Tap Manage to turn off bubbles from this app + + Got it System navigation updated. To make changes, go to Settings. diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java index e666fb5f1af92..cff371f93f3d8 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java @@ -1074,11 +1074,6 @@ public class BubbleStackView extends FrameLayout { */ private boolean maybeShowStackUserEducation() { if (mShouldShowUserEducation && mUserEducationView.getVisibility() != VISIBLE) { - Bubble b = mBubbleData.getSelectedBubble(); - TextView description = mUserEducationView.findViewById(R.id.user_education_description); - description.setText(mContext.getString( - R.string.bubbles_user_education_description, b.getAppName())); - mUserEducationView.setAlpha(0); mUserEducationView.setVisibility(VISIBLE); // Post so we have height of mUserEducationView