commit | c078c605ab904b0e4a5d793cbeffd78c340f2816 | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Tue Dec 08 14:49:13 2015 -0500 |
committer | Alan Viverette <alanv@google.com> | Tue Dec 08 14:49:13 2015 -0500 |
tree | 1be842dc5f315e3f04c4e98dbc48bfa71dd8b107 | |
parent | c72b3101ee368d2a9943e4436ede679acfa38f92 [diff] |
Attach drawable resource ID and name to getDrawable() exceptions Wraps the entire getDrawable() method in a try/catch block. Clears the stack trace from the re-thrown exception, since we only need the trace from the original exception. Also clears stack traces from re-thrown RuntimeExceptions in applyTheme implementations. Change-Id: I92396abf9e748eef78777174b297a09e118f5e70