Disable/enable application.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 10 Sep 2015 00:05:08 +0300
changeset 1740 0d897830a5d3
parent 1739 733104e6ad9a
child 1741 5c549e75b296
Disable/enable application.
android.rst
--- a/android.rst	Wed Sep 09 14:51:48 2015 +0300
+++ b/android.rst	Thu Sep 10 00:05:08 2015 +0300
@@ -82,10 +82,19 @@
 
   $ adb shell 'pm list packages -f'
 
-Uninstall application by it name::
+Uninstall application by its package name::
 
   $ adb uninstall PACKAGE_NAME
 
+Disable/enable application::
+
+  $ adb shell pm disable PACKAGE_NAME
+  $ adb shell pm enable PACKAGE_NAME
+
+List of disabled packages::
+
+  $ adb shell pm list packages -d
+
 List currently run activities::
 
   $ adb shell 'dumpsys activity'