OSDN Git Service

Base stuff on Bubble rather than NotifEntry; move stuff into Bubble
authorMady Mellor <madym@google.com>
Fri, 14 Jun 2019 18:39:56 +0000 (11:39 -0700)
committerMady Mellor <madym@google.com>
Tue, 25 Jun 2019 02:04:43 +0000 (19:04 -0700)
commit99a30260cc315a6f671855b274af637052890bd5
treeca3a4378f1f25ca54271a69fdc1ffc19ec75e700
parented99c27a29a8adba180ea02539ca96278f4d4143
Base stuff on Bubble rather than NotifEntry; move stuff into Bubble

* BubbleView & BubbleExpandedView now go off of a Bubble rather than a NotificationEntry
* moved getUpdateMessage off of NotifEntry and into Bubble (also moves tests to new BubbleTest)
* moved height & settings intent lookups out of BubbleExpandedView and into Bubble

Bug: 135214687
Test: atest BubbleControllerTest BubbleDataTest BubbleTest
Change-Id: I1c5970c3cd00fb4f0136850daea3c9699a939f94
packages/SystemUI/src/com/android/systemui/bubbles/Bubble.java
packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java
packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java
packages/SystemUI/src/com/android/systemui/bubbles/BubbleView.java
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/NotificationEntry.java
packages/SystemUI/tests/src/com/android/systemui/bubbles/BubbleControllerTest.java
packages/SystemUI/tests/src/com/android/systemui/bubbles/BubbleTest.java [moved from packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/NotificationEntryTest.java with 84% similarity]