commit | 7d447726e2cb9fae80db417012039828daab8fe7 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Tue Jun 10 15:51:59 2014 +0200 |
committer | Selim Cinek <cinek@google.com> | Tue Jun 10 16:03:46 2014 +0200 |
tree | 04669ae1bb254e7bc6f9cf83d9c9c91a35603e9d | |
parent | c0ce82daa4715822e2a37e53df7c34f157a96517 [diff] [blame] |
Fixed an issue where holes in the notification shade could appear. When redaction was turned on, holes could appear. Bug: 15107339 Change-Id: I8c2830caaa78f03c8ccada1a7160f73c906365d7
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java index 84005d1..530b32f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
@@ -258,4 +258,9 @@ public void notifyContentUpdated() { mPrivateLayout.notifyContentUpdated(); } + + public boolean isShowingLayoutLayouted() { + View showingLayout = mShowingPublic ? mPublicLayout : mPrivateLayout; + return showingLayout.getWidth() != 0; + } }