Sample Header Ad - 728x90

How to check if a package is enabled via shell?

7 votes
2 answers
17780 views
I have been writing a tasker task to enable/disable a package. I know adb shell pm enable com.android.contacts will enable the package and adb shell pm disable com.android.contacts will disable it. I would like to know if there's any shell command that would tell me if a package is in enabled/disabled state. Thanks in advance! :)
Asked by Srikanth R (223 rep)
Jun 11, 2016, 04:21 PM
Last activity: Mar 16, 2024, 03:28 PM