Commit Graph

5 Commits

Author SHA1 Message Date
Tomasz Mikolajewski
cd270153ff Fix tapping on more than one failure notification.
Bug: 26809248
Change-Id: I4e52b7e7a9e09d57b8a2231a09c9121b5fd19e51
2016-02-03 11:03:47 +09:00
Ben Kwa
a3cdbdda9b Fix a crash in Metrics code.
Check for null URIs when logging metrics for DocsUI launches.  This
prevents a NPE caused if DocsUI is started by an intent with a null URI.

BUG=26848462

Change-Id: Iea02488581f582f60eabf61deec1e89c13449d78
2016-01-29 14:18:26 -08:00
Ben Kwa
da518c9e61 Add logging for MTP roots.
BUG=26737132

Change-Id: I09d7f644edd775ce54a06dbed9f4b716eeb662d3
2016-01-29 12:11:01 -08:00
Ben Kwa
d5b2af1544 Add metrics logging for file operations.
Log to two new histograms - one for operations originating from system
providers, the other for operations originating from external providers.

Events in these histograms are bucketed by
- type (copy, move, delete, etc)
- destination (system vs external provider, with a special bucket for
    intra-provider operations)
- result (success vs failure)

BUG=26737132

Change-Id: Ic24c7a22fa3c1227e23cfbd42ae80ca1f70a19ba
2016-01-29 08:31:42 -08:00
Ben Kwa
723799858a Add MetricsLogger calls to DocumentsUI.
- Create new categories in MetricsLogger for DocumentsUI events.
- Add logging code to DocumentsUI for launch events and viewing roots.

BUG=26737132

Change-Id: Ib703878a39dd03b57e68a4d5a1d6cf8fe2936c5a
2016-01-26 14:15:42 -08:00