OSDN Git Service

Add logging for notifications.
authorTony Wickham <twickham@google.com>
Wed, 1 Feb 2017 17:13:24 +0000 (09:13 -0800)
committerTony Wickham <twickham@google.com>
Tue, 7 Feb 2017 18:16:52 +0000 (10:16 -0800)
commitc6b79e307f59e936ee380da07b0bd6fafe0a490c
tree864121cc6cf3534fea8b01aae0de210eafe3bf55
parentdb7b82960a54b85510aaeba2f543b37b4dc59fc8
Add logging for notifications.

- Log notification launches
- Log notification swipes
- Fix logDragNDrop() to only log if the pre-drag ends (so it doesn't
  log a long-press that only shows shortcuts without dragging).
- Add shortcut rank to logs when launching deep shortcuts, where 0
  is the shortcut closest to the app icon (highest rank).

Bug: 34770729
Bug: 32410600
Change-Id: I99dcef9b6a71da2ef58e32397702bb137407b10f
protos/launcher_log.proto
src/com/android/launcher3/dragndrop/DragController.java
src/com/android/launcher3/logging/UserEventDispatcher.java
src/com/android/launcher3/notification/NotificationInfo.java
src/com/android/launcher3/notification/NotificationItemView.java
src/com/android/launcher3/notification/NotificationMainView.java
src/com/android/launcher3/popup/PopupContainerWithArrow.java
src/com/android/launcher3/popup/PopupPopulator.java