commit | f0e31b89b96ace2bfee7b9fd0d68e0c5ee613b9c | [log] [tgz] |
---|---|---|
author | Koushik Dutta <koushd@gmail.com> | Tue Aug 17 16:55:38 2010 -0700 |
committer | Koushik Dutta <koushd@gmail.com> | Tue Aug 17 16:55:38 2010 -0700 |
tree | d858aea96c222671adc8b200f266f451d30a6b12 | |
parent | d632c0def4e1aa1c6e3ecde84dd59a30ca731bda [diff] [blame] |
fixes and stuff for droid x
diff --git a/extendedcommands.c b/extendedcommands.c index 507810b..29dfb93 100644 --- a/extendedcommands.c +++ b/extendedcommands.c
@@ -796,6 +796,7 @@ "Wipe Battery Stats", "Report Error", "Key Test", + "Restart adbd", NULL }; @@ -847,6 +848,11 @@ } while (action != GO_BACK); } + case 5: + { + __system("kill $(ps | grep adbd)"); + __system("/sbin/adbd &"); + } } } }