Open gothemknight opened 11 months ago
Hi, thanks for the report! What does work apps mean? Do you have a separate work profile? I've never used profiles or multi-users per device, so I'm not familiar with this.
Looking at Trebuchet code, I see I can get work apps by using LauncherApps.getActivityList
(passing the work profile UserHandle
) instead of PackageManager.queryIntentActivities
and then LauncherActivityInfo.getActivityInfo
for each app.
Unfortunately this getActivityInfo
method requires API level 31. There should be another way to get work apps (maybe using PackageManager
), because work profile has existed since API level 21, but I haven't found it yet, and I'm honestly more tempted to just stop supporting API level under 31.
A workaround for now (If you're using shelter), is clicking in app on individual apps and choosing the option:
Create Unfreaze and/ or Launch Shortcut
As title says, none of my work apps are showing up in the app drawer. Only thing it needs is a search function. Great launcher!