From bcbb75ac9d73a92632e97ab990a913ede755b176 Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Tue, 27 May 2014 16:38:11 +0200 Subject: [PATCH] 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 --- .../android/systemui/statusbar/ActivatableNotificationView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java b/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java index e3dac4a8e8a16..dcd187cebe9c7 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(); }