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

Commit 6555e3fd authored by Ray Chi's avatar Ray Chi Committed by Automerger Merge Worker
Browse files

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

Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1715696

Change-Id: If938a6d509830a6e0a1dccdb44f405ce7d9b7d2f
parents 09404a3c f5527106
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();