OSDN Git Service

heads up notifications always take the top spot
authorChris Wren <cwren@android.com>
Wed, 7 Aug 2013 20:43:43 +0000 (16:43 -0400)
committerChris Wren <cwren@android.com>
Thu, 8 Aug 2013 11:16:38 +0000 (07:16 -0400)
commitf0048ce66fa7b4859b44badc8e58ea8b27e2356b
tree36b8c9926c96d3d61fa653910031041c078968f0
parentd4db6cbc0fa5b3b1ff7ea18f7b861f0753518e4f
heads up notifications always take the top spot

If it was important enough to be a heads up, it should get top spot.
Make this sticky so bumping out of the HUN doesn't require a shade sort.
Split view creation and insertion so we can get the shade order correct.

Bug: 10001616
Change-Id: I4c1f2581e11a94241269984a01b92289a8943065
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java