Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f8e71e6 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

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

* commit 'dac3a546':
  It helps to catch the right exception.
parents 265758d0 dac3a546
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {