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

Commit 0127eb07 authored by Jason Monk's avatar Jason Monk
Browse files

Guard against crash in SummaryProvider

Change-Id: Ieeae65e50211618dbbee3d320cae614ac5926543
Fixes: 26310547
parent 65996601
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();
            }