mirror of
https://github.com/markusfisch/PieLauncher.git
synced 2026-03-13 09:01:30 +08:00
Add missing runtime check for LauncherApps
This commit is contained in:
@@ -739,6 +739,9 @@ public class Apps {
|
||||
}
|
||||
|
||||
private UserHandle findPrivateProfileUser(Context context) {
|
||||
if (!HAS_LAUNCHER_APP) {
|
||||
return null;
|
||||
}
|
||||
LauncherApps la = getLauncherApps(context);
|
||||
UserManager um = getUserManager(context);
|
||||
for (UserHandle profile : getProfiles(um)) {
|
||||
|
||||
Reference in New Issue
Block a user