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

Commit b7aca350 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Gerrit Code Review
Browse files

Merge "It helps to catch the right exception."

parents 55e9d98d d9fe2934
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1577,7 +1577,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) {