OSDN Git Service

Create + implement plugin for NotificationSettingsIconRow
authorMady Mellor <madym@google.com>
Tue, 13 Dec 2016 05:05:13 +0000 (21:05 -0800)
committerMady Mellor <madym@google.com>
Wed, 25 Jan 2017 20:23:29 +0000 (12:23 -0800)
commit43c2cd1a4071e152e9f4aa9044b03a29cd5ada31
tree44dc37c836f119591b36d823b1b08e5d7bcf83f3
parent1597e0540d67d439c370b398ee12604c6f179bc8
Create + implement plugin for NotificationSettingsIconRow

This will allow plugins to supply additional menu options to the
menu "behind" a notification.

This CL does not include behavior for when one of these new menu
items is tapped, this will be added in a separate CL.

Test: manual
Change-Id: I322f9f39d33b043bd23dcbede5dd15e6afa73fc1
packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/NotificationMenuRowProvider.java [new file with mode: 0644]
packages/SystemUI/res/layout/notification_settings_icon_row.xml
packages/SystemUI/res/layout/status_bar_notification_row.xml
packages/SystemUI/res/values/strings.xml
packages/SystemUI/src/com/android/systemui/SwipeHelper.java
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
packages/SystemUI/src/com/android/systemui/statusbar/NotificationSettingsIconRow.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java