mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Xiaomi: Fix crash when opening app manager
Regression introduced by e53c67e8bf
This commit is contained in:
+5
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user