mirror of
https://github.com/markusfisch/PieLauncher.git
synced 2026-03-13 09:01:30 +08:00
Check that profile list isn't empty
Instead of checking it for null, which it never is there.
This commit is contained in:
@@ -407,7 +407,7 @@ public class Apps {
|
||||
} else {
|
||||
profiles = getProfiles(um);
|
||||
}
|
||||
if (la == null || profiles == null) {
|
||||
if (la == null || profiles.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
// If packageNameRestriction == null and userHandleRestriction != null
|
||||
|
||||
Reference in New Issue
Block a user