commit | 379d52be47be88b86f0d446c27d47e80bb81cfd1 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue May 03 17:40:02 2016 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue May 03 17:40:22 2016 -0600 |
tree | 9f4c4051e7e396a942254729957f1805be75c2f0 | |
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