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

Commit 09404a3c authored by Ray Chi's avatar Ray Chi Committed by Automerger Merge Worker
Browse files

redfin: usb: add state of usb extcon to monitorffs am: c4e6499d

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

Change-Id: Ia6aab186df5cff65f81f9f3e9fd6bd43451b17c4
parents 508a78ac c4e6499d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -66,7 +66,8 @@ using ::android::hardware::usb::gadget::V1_1::IUsbGadget;
using ::std::string;

constexpr char kGadgetName[] = "a600000.dwc3";
static MonitorFfs monitorFfs(kGadgetName);
constexpr char kExtconUsbState[] = "/sys/class/extcon/extcon4/cable.0/state";
static MonitorFfs monitorFfs(kGadgetName, kExtconUsbState);

struct UsbGadget : public IUsbGadget {
    UsbGadget();