Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5527106 authored by Ray Chi's avatar Ray Chi
Browse files

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

This reverts commit c4e6499d.

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

Merged-In: Ib0d5f1a4510c14bfafad9727804b0b084eb37584
Change-Id: I29fcbc12e0e479a78188bb3b02f4b451a4f060fb
parent c4e6499d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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();