commit | 777ef5688f188a5717b74d604bb7213b1b66386d | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Tue Dec 01 17:37:14 2015 -0800 |
committer | Adrian Roos <roosa@google.com> | Tue Dec 01 17:37:14 2015 -0800 |
tree | 17d29dbfc03c2ecb5de6162c7349c9fe406e0dc9 | |
parent | 1cffc196610891f6669c33404f3ff5b0232b7059 [diff] [blame] |
More inline reply goodness - Use expanded view instead of HUN when possible - Remember partial replies - Back properly closes IME without closing shade - Fix broken reorder animation Bug: 22452379 Change-Id: Idb6ca8aed27cfb1f3d9b46f59e148b1b3b112fa7
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java index 5aedaf1..46bd64e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
@@ -426,6 +426,11 @@ */ private int calculateVisibleType() { boolean noExpandedChild = mExpandedChild == null; + + if (!noExpandedChild && mContentHeight == mExpandedChild.getHeight()) { + return VISIBLE_TYPE_EXPANDED; + } + if (mIsHeadsUp && mHeadsUpChild != null) { if (mContentHeight <= mHeadsUpChild.getHeight() || noExpandedChild) { return VISIBLE_TYPE_HEADSUP;