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

Commit c1d9b414 authored by /e/ robot's avatar /e/ robot
Browse files

Merge remote-tracking branch 'origin/lineage-21.0' into v1-u

parents e7d1f008 5432f7c3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1414,11 +1414,13 @@ public final class FileUtils {
    public static long roundStorageSize(long size) {
        long val = 1;
        long pow = 1;
        while ((val * pow) < size) {
        long pow1024 = 1;
        while ((val * pow1024) < size) {
            val <<= 1;
            if (val > 512) {
                val = 1;
                pow *= 1000;
                pow1024 *= 1024;
            }
        }