OSDN Git Service

Split NotificationViewHierarchyManager out of StatusBar.
authorEliot Courtney <edcourtney@google.com>
Mon, 27 Nov 2017 04:27:46 +0000 (13:27 +0900)
committerEliot Courtney <edcourtney@google.com>
Tue, 26 Dec 2017 07:43:53 +0000 (16:43 +0900)
commit2b4c3a08fcfcb60c527a1a372318e5ef4ce2d49c
tree17caad9d703ff3010a3171b48f4a6334f00a0f67
parenta6d8cf294dfb587f130fdecc5e6897e75de7bf45
Split NotificationViewHierarchyManager out of StatusBar.

NotificationViewHierarchyManager handles bundling and unbundling of
notifications. In doing so, which notifications are parents/children of
the other can change. NotificationViewHierarchyManager makes sure the
view hierarchy of the notifications matches their grouping.

Bug: 63874929
Bug: 62602530
Test: runtest systemui
Test: Compile and run
Change-Id: Ia1c8ed75d4eb8df52897c5d6aa0713f8335b2a19
16 files changed:
packages/SystemUI/src/com/android/systemui/SystemUIFactory.java
packages/SystemUI/src/com/android/systemui/car/CarNotificationEntryManager.java
packages/SystemUI/src/com/android/systemui/car/CarSystemUIFactory.java
packages/SystemUI/src/com/android/systemui/statusbar/NotificationEntryManager.java
packages/SystemUI/src/com/android/systemui/statusbar/NotificationGutsManager.java
packages/SystemUI/src/com/android/systemui/statusbar/NotificationListContainer.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/statusbar/NotificationLogger.java
packages/SystemUI/src/com/android/systemui/statusbar/NotificationPresenter.java
packages/SystemUI/src/com/android/systemui/statusbar/NotificationViewHierarchyManager.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationEntryManagerTest.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationLoggerTest.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationViewHierarchyManagerTest.java [new file with mode: 0644]
packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarTest.java