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

Commit 595ae28d authored by San Mehat's avatar San Mehat Committed by Android (Google) Code Review
Browse files

Merge "Environment: Catch *all* exceptions from MountService"

parents 0d055395 a6a72814
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ public class Environment {
                                                         .getService("mount"));
            }
            return mMntSvc.getVolumeState(getExternalStorageDirectory().toString());
        } catch (android.os.RemoteException rex) {
        } catch (Exception rex) {
            return Environment.MEDIA_REMOVED;
        }
    }