diff options
author | Jeff Sharkey <jsharkey@android.com> | 2016-05-03 17:40:02 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2016-05-03 17:40:22 -0600 |
commit | 379d52be47be88b86f0d446c27d47e80bb81cfd1 (patch) | |
tree | 9f4c4051e7e396a942254729957f1805be75c2f0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b9f7541d9bd8b0b37f04ea8244a8d0bd5fb97717 (diff) |
Avoid restart when inserting/ejecting adopted.
When rapidly inserting/ejecting an adopted storage device, we might
still be trying to prepare the storage device. Catch the exception
to avoid a runtime restart, and keep rolling forward, since we'll
probably be handling the ejected event in a few moments to clean up
any packages.
Bug: 28467146
Change-Id: Ib923663ae6d63259c1b5792b68dfe760612ab838
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions