You can "suspend" user apps via
cmd package suspend
(which acts kind of like pm disable
; the differences are explained in [this answer](/a/208271/16575) by @Firelord), and later unsuspend them using cmd package unsuspend
– which also works for user-installed apps. However: suspended packages seem no longer to be listed via cmd package list packages
– not even if -u
(uninstalled) or -d
(disabled) is specified; not even dumpsys package
seems to know them anymore.
So is there any way to obtain a list of suspended packages? The syntax output doesn't mention such. But as such apps are still shown in the launcher (though "grayed out"), there must be a way to detect them.
Asked by Izzy
(91606 rep)
Jun 12, 2022, 11:26 PM
Last activity: Jun 13, 2022, 07:50 AM
Last activity: Jun 13, 2022, 07:50 AM