commit | 6959a1b9127528a787691dd6c42c7762beebdd81 | [log] [tgz] |
---|---|---|
author | qsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed May 21 00:56:32 2014 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 16:43:43 2020 +0900 |
tree | f0377ad56e8512ff0928c865e01fc8f88715b6f8 | |
parent | 61147beeaa20f914518754d5f9c13debfc21cf0c [diff] |
Add timeout for usb charging commands. Also check that we are root, as non rooted cannot control usb charging. BUG=375178 R=tonyg@chromium.org Review URL: https://codereview.chromium.org/292743005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271670 0039d316-1c4b-4281-b951-d872f2087c98 CrOS-Libchrome-Original-Commit: 4fd6c1f4dcecfec3e6d65400845d199889700386