Revert "redfin: usb: add state of usb extcon to monitorffs"

This reverts commit 9d3491c96c.

Reason for revert: using alternate method for original behavior change
Bug: 187261232
Test: build pass

Change-Id: Ib0d5f1a4510c14bfafad9727804b0b084eb37584
This commit is contained in:
Ray Chi 2021-05-12 23:45:51 +08:00
parent 00ce4bf0aa
commit 9abf72cd34
1 changed files with 1 additions and 2 deletions

View File

@ -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();