mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Xiaomi: Fix crash when opening app manager
Regression introduced by e53c67e8bf
This commit is contained in:
parent
dd6d9bd271
commit
0c4e2df075
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user