commit | 387225ff0173986d1c7f0e8d0a657117ad51cf15 | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Mon Jul 20 15:39:39 2015 -0700 |
committer | Christopher Tate <ctate@google.com> | Mon Jul 20 17:45:17 2015 -0700 |
tree | d3b3abc454a1d2fd58e207914a56f4ff3ed7eeae | |
parent | a6bf393dc5b022f11c698dda610e209b5090d8c0 [diff] |
Add 'pm' operation to set a package's app-linking state Set an app's state: pm set-app-link [--user USER_ID] PACKAGE {always|ask|never|undefined} Read an app's current state: pm get-app-link [--user USER_ID] PACKAGE The latter prints to stdout one of the strings usable as an argument to set-app-link. If an error is encountered, the string printed to stderr begins with "Error: ". Bug 19628527 Change-Id: I68b6dc24445917807345a8cf5baa2078490740af