diff options
author | Ray Chi <raychi@google.com> | 2021-05-12 23:45:51 +0800 |
---|---|---|
committer | Ray Chi <raychi@google.com> | 2021-05-12 23:46:10 +0800 |
commit | 9abf72cd348a0d19e3bbe2e5606aabc2dfb7cdce (patch) | |
tree | d0f5e155c53d2cee28412c9475d2b6e6f8f78406 | |
parent | 00ce4bf0aa8c9a4172b751582f36d7f2f5a0f768 (diff) | |
download | redfin-9abf72cd348a0d19e3bbe2e5606aabc2dfb7cdce.tar.gz |
Revert "redfin: usb: add state of usb extcon to monitorffs"
This reverts commit 9d3491c96cf4cadc48253a7113a26c80fcb7cdf2.
Reason for revert: using alternate method for original behavior change
Bug: 187261232
Test: build pass
Change-Id: Ib0d5f1a4510c14bfafad9727804b0b084eb37584
-rw-r--r-- | usb/UsbGadget.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usb/UsbGadget.h b/usb/UsbGadget.h index 32b173f..93c7d66 100644 --- a/usb/UsbGadget.h +++ b/usb/UsbGadget.h @@ -66,8 +66,7 @@ using ::android::hardware::usb::gadget::V1_1::IUsbGadget; using ::std::string; constexpr char kGadgetName[] = "a600000.dwc3"; -constexpr char kExtconUsbState[] = "/sys/class/extcon/extcon4/cable.0/state"; -static MonitorFfs monitorFfs(kGadgetName, kExtconUsbState); +static MonitorFfs monitorFfs(kGadgetName); struct UsbGadget : public IUsbGadget { UsbGadget(); |