OSDN Git Service

Reconcile logging of blocking helper and manual notification management.
authorWill Brockman <brockman@google.com>
Wed, 30 Jan 2019 15:59:36 +0000 (10:59 -0500)
committerWill Brockman <brockman@google.com>
Wed, 30 Jan 2019 16:55:33 +0000 (11:55 -0500)
commita399f023c76cfd69c6bc4c1e693f221772e20063
tree8d6cf7f60f0b6c74b489cd08ace44119adb0568a
parent7447f3bda99c200f5c9853615aab1ae8e72e6d8e
Reconcile logging of blocking helper and manual notification management.

Unify on ACTION_NOTE_CONTROLS for opening of a NotificationInfo, with
subtype to distinguish whether it's for BlockingHelper or not.

In the non-blocking-helper case, don't log user clicks, just the
action. We can come back to this, but the logs are currently
inaccurate and they aren't essential.

Bug: 123519980
Change-Id: I9189d52f9bd20126b0df5568c8be264107d569b3
Test: atest SystemUITests and manual testing.
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationGutsManager.java
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationInfo.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/NotificationGutsManagerTest.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/NotificationInfoTest.java