diff options
author | Narayan Kamath <narayan@google.com> | 2015-05-07 17:48:42 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-05-07 18:15:09 +0100 |
commit | 01dcb76fec4ee2ff3a3dc4516a37c144d771f18c (patch) | |
tree | fae8f6f311824809edbdb61a837b839baa579440 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | dbf62ace0dcb671f5eaa97c0dfa75e39bc9c88be (diff) |
Be more accepting of dex2oat errors.
- Narrow down the scope of caught exceptions. StaleDexCacheError has been
removed (nobody was throwing it) and we shouldn't be catching the
general "Exception".
- Make try {} catch blocks for IOExceptions more fine-grained, only
surrounding the code that throws them.
And finally, don't return DEX_OPT_FAILED if installd couldn't run
dex2oat successfully. We return DEX_OPT_SKIPPED instead.
bug: 20888973
Change-Id: I25701e16157f42981ca767e343545cfe1d9cfbb2
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions