OSDN Git Service

When a Bubble notification is clicked, show the bubble
authorMark Renouf <mrenouf@google.com>
Wed, 13 Mar 2019 17:24:27 +0000 (13:24 -0400)
committerMark Renouf <mrenouf@google.com>
Mon, 1 Apr 2019 16:14:55 +0000 (12:14 -0400)
commitfec45dac198beef4f0e27eee9a5d10cf0fbd1962
tree5f2f01f4aa26000ebac086e9aec9d388eed78674
parentd9246ef1fa429d7c27e489bb97d18dea4f33aa12
When a Bubble notification is clicked, show the bubble

After checking keyguard and collapsing the shade, ask
BubbleController to show the bubble associated with the
notification, instad of simply sending the contentIntent.

Bug: 123710619
Test: atest StatusBarNotificationActivityStarterTest
Change-Id: I7b43061447de0daa314deec5abad634fd73e9831
packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationClicker.java
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/NotificationRowBinderImpl.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarNotificationActivityStarter.java
packages/SystemUI/tests/src/com/android/systemui/bubbles/BubbleControllerTest.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationTestHelper.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarNotificationActivityStarterTest.java