mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-25 16:15:55 +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;
|
return cachedAppList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cachePath == null) {
|
||||||
|
LOG.warn("Cached apps path is null");
|
||||||
|
return Collections.emptyList();
|
||||||
|
}
|
||||||
|
|
||||||
File[] files;
|
File[] files;
|
||||||
if (uuids == null) {
|
if (uuids == null) {
|
||||||
files = cachePath.listFiles();
|
files = cachePath.listFiles();
|
||||||
|
Loading…
Reference in New Issue
Block a user