diff options
| author | Selim Cinek <cinek@google.com> | 2014-06-12 23:33:29 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-06-10 21:18:16 +0000 |
| commit | 62e23396e714bb1c806bf191a6a05cf3ab43535a (patch) | |
| tree | 13a4ba179d193786ae5019d1f18a0a170b0d1d24 /packages/SystemUI/src | |
| parent | 099053d862185a724609696616d3ec16bc844392 (diff) | |
| parent | e299793343e6f169a110afb047414b48eef96550 (diff) | |
| download | frameworks_base-62e23396e714bb1c806bf191a6a05cf3ab43535a.zip frameworks_base-62e23396e714bb1c806bf191a6a05cf3ab43535a.tar.gz frameworks_base-62e23396e714bb1c806bf191a6a05cf3ab43535a.tar.bz2 | |
Merge "Fixed the calculation of the clipTopAmount which lead to holes." into lmp-preview-dev
Diffstat (limited to 'packages/SystemUI/src')
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java index d6ff4fc..cbad9dc 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java @@ -186,7 +186,7 @@ public class StackScrollAlgorithm { if (!child.isTransparent()) { // Only update the previous values if we are not transparent, // otherwise we would clip to a transparent view. - previousNotificationStart = newYTranslation + child.getClipTopAmount(); + previousNotificationStart = newYTranslation + state.clipTopAmount; previousNotificationEnd = newNotificationEnd; previousNotificationIsSwiped = child.getTranslationX() != 0; } |
