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

Commit 3095c77d authored by Jason Monk's avatar Jason Monk Committed by Android (Google) Code Review
Browse files

Merge "Guard against crash in SummaryProvider" into nyc-dev

parents eeb2a19a 0127eb07
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -478,6 +478,9 @@ public class StorageSettings extends SettingsPreferenceFragment implements Index
                    continue;
                }
                final File path = info.getPath();
                if (path == null) {
                    continue;
                }
                privateUsedBytes += path.getTotalSpace() - path.getFreeSpace();
                privateTotalBytes += path.getTotalSpace();
            }