am 7e9221c5: Merge "It helps to catch the right exception." into jb-mr2-dev

* commit '7e9221c5548b711bb083589d2c0d32eb6cf2fb8d':
  It helps to catch the right exception.
This commit is contained in:
Jeff Sharkey
2013-03-26 10:33:32 -07:00
committed by Android Git Automerger

View File

@@ -1603,7 +1603,7 @@ class MountService extends IMountService.Stub
boolean mounted = false;
try {
mounted = Environment.MEDIA_MOUNTED.equals(getVolumeState(primary.getPath()));
} catch (IllegalStateException e) {
} catch (IllegalArgumentException e) {
}
if (!mounted) {