C:\Users\yonghuming>adb shell "ls system/bin" >log
C:\Users\yonghuming>adb shell appwidget
usage: adb shell appwidget [subcommand] [options]
usage: adb shell appwidget grantbind --package <PACKAGE> [--user <USER_ID> | current]
<PACKAGE> an Android package name.
<USER_ID> The user id under which the package is installed.
Example:
# Grant the "foo.bar.baz" package to bind app widgets for the current user.
adb shell grantbind --package foo.bar.baz --user current
usage: adb shell appwidget revokebind --package <PACKAGE> [--user <USER_ID> | current]
<PACKAGE> an Android package name.
<USER_ID> The user id under which the package is installed.
Example:
# Revoke the permisison to bind app widgets from the "foo.bar.baz" package.
adb shell revokebind --package foo.bar.baz --user current
[ERROR] Unsupported operation: null