OSDN Git Service

Check for low priority when determining how many notifications to display.
authorAaron Heuckroth <nesciosquid@google.com>
Tue, 19 Jun 2018 19:44:40 +0000 (15:44 -0400)
committerAaron Heuckroth <nesciosquid@google.com>
Wed, 20 Jun 2018 19:35:40 +0000 (15:35 -0400)
commit17ce40ee1c00c43cf789a34c5db1fa357c376802
tree1cfb6fd31431b0c15eb00b5352a35e18d7aa730f
parent859df82843ba06a12cc2686abd0b665a46304483
Check for low priority when determining how many notifications to display.

Test: Create a notification group with ~10 minimum priority notifications. Drag to expand the notification group
in the notification shade -- only 5 notifications should display.
Fixes: 77522394
Change-Id: I9c53aa3d4f672c88cb1e3806e5828d391d752b4d
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/ExpandableNotificationRowTest.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/NotificationChildrenContainerTest.java