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
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
- Create new categories in MetricsLogger for DocumentsUI events.
- Add logging code to DocumentsUI for launch events and viewing roots.
BUG=26737132
Change-Id: Ib703878a39dd03b57e68a4d5a1d6cf8fe2936c5a