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

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

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

* commit '7e9221c5':
  It helps to catch the right exception.
parents bc9e97ab 7e9221c5
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) {