OSDN Git Service

Fixed that music notifications were not clickable on lockscreen
authorSelim Cinek <cinek@google.com>
Fri, 15 Jan 2016 02:48:41 +0000 (18:48 -0800)
committerSelim Cinek <cinek@google.com>
Fri, 22 Jan 2016 03:42:49 +0000 (19:42 -0800)
commit6183d12926a189b08cc3be8d9c78470617e63db0
treeaadc980b64789445c78261f9d13bb000dff2c07c
parent3bdbf28b496094b012a63f1d38b823e8c205909b
Fixed that music notifications were not clickable on lockscreen

On the lockscreen we were unintentionally disabling single clicks
on the media buttons while we only wanted to disallow it for the
notification header. This is now fixed by explicitly checking if
we are clicking on the notification header.

Bug: 26325096
Change-Id: I044f25ac3216b98c7769c31d09d19f801a437194
core/java/android/view/NotificationHeaderView.java
packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java