Alltern The first is to allow whether apps can query installed apps or see what apps are installed or to deny it. The second is putting background usage and battery optimization in special app access to sort by apps with and without background usage.
Dumdum Alltern The first is to allow whether apps can query installed apps or see what apps are installed or to deny it. https://github.com/GrapheneOS/os-issue-tracker/issues/2197
doublefree Alltern The second is putting background usage and battery optimization in special app access to sort by apps with and without background usage. Already implemented in AOSP Settings app. It's just that you need a third-party app to start the com.android.settings.Settings$AppBatteryUsageActivity activity.
doublefree Alltern one app that can be used to open it is https://github.com/butzist/ActivityLauncher.