1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-20 12:00:51 +02:00

Xiaomi: Fix crash when opening app manager

Regression introduced by e53c67e8bf
This commit is contained in:
José Rebelo 2023-11-29 21:11:54 +00:00
parent dd6d9bd271
commit 0c4e2df075

View File

@ -279,6 +279,11 @@ public abstract class AbstractAppManagerFragment extends Fragment {
return cachedAppList;
}
if (cachePath == null) {
LOG.warn("Cached apps path is null");
return Collections.emptyList();
}
File[] files;
if (uuids == null) {
files = cachePath.listFiles();