summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2014-05-27 16:38:11 +0200
committerAdrian Roos <roosa@google.com>2014-05-27 16:39:53 +0200
commitbcbb75ac9d73a92632e97ab990a913ede755b176 (patch)
tree6f7e3b04f449f7ae328f8a13073b12fca8278a0f /packages
parentc22dbb69194c8e8fe2a32326d1f37a738cad0904 (diff)
downloadframeworks_base-bcbb75ac9d73a92632e97ab990a913ede755b176.zip
frameworks_base-bcbb75ac9d73a92632e97ab990a913ede755b176.tar.gz
frameworks_base-bcbb75ac9d73a92632e97ab990a913ede755b176.tar.bz2
Initialize background visibility of ActivatableNotificationView
Initializes the background visibilities that were previously only set when adding the view to the scroller, resulting in HUNs having two backgrounds. Bug: 15106201 Change-Id: I21ef3b34c6feb0e852c9dc2c3289665cff40927e
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java b/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
index e3dac4a..dcd187c 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
@@ -149,6 +149,7 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView
super.onFinishInflate();
mBackgroundNormal = (NotificationBackgroundView) findViewById(R.id.backgroundNormal);
mBackgroundDimmed = (NotificationBackgroundView) findViewById(R.id.backgroundDimmed);
+ updateBackground();
updateBackgroundResources();
}