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

Commit 7b480ca4 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "Parse UUID string with Long.parseLong" into cm-11.0

parents cfc233dc c3a132bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ public class StorageVolume implements Parcelable {
            return -1;
        }
        try {
            return Integer.parseInt(mUuid.replace("-", ""), 16);
            return (int)Long.parseLong(mUuid.replace("-", ""), 16);
        } catch (NumberFormatException e) {
            return -1;
        }