commit | f1c9b8baeffae16630d62779f77e52646b813a94 | [log] [tgz] |
---|---|---|
author | Lyn Han <lynhan@google.com> | Thu Mar 14 16:49:48 2019 -0700 |
committer | Lyn Han <lynhan@google.com> | Tue Mar 19 17:57:16 2019 -0700 |
tree | 891f6bfdfc2e38f1d52be42747a4456b3bbd4155 | |
parent | b7006711a7bf87df2a7374c589e1c10bc624fe5e [diff] [blame] |
Bubble expanded view - update header color on uimode and overlay change Bug:123829494 Test: manual Change-Id: I1e399f30d61ba0e00a7a39a16995209de8896f2c
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java index 856b9d6..e8b346e 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java
@@ -354,6 +354,13 @@ } } + /** + * Update bubble expanded view header when user toggles dark mode. + */ + void updateHeaderColor() { + mHeaderView.setBackgroundColor(mContext.getColor(R.attr.colorAccent)); + } + private void updateHeaderView() { mSettingsIcon.setContentDescription(getResources().getString( R.string.bubbles_settings_button_description, mAppName));