DocumentsUI: Remove catch-all statements

This removes several "catch (Exception)" statements which violates the
Android code
style guidelines and hides problems.

I left some catch-all statements in, as they seem to be intended like
this (grep for
"catch (Exception").

I suggest we do not merge this before we are sure that we fixed any
problems. One problem
is a crash when deleting items (I'm currently working to fix that).

PS 2: Add exception to log.
Change-Id: I483c320c7ee256acd993dd2a509c031fa5e3f09e
Nutomic authored on May 4
DocumentsUI: Allow open files instead of URIs

Check files' real path and mime type to open them only in standalone
mode.
This allows, for example, installing apks.

Change-Id: I4501c694db84b8595cd3928752254a8914539972
beerbong authored on Apr 15