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

Commit 38349f0c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "redfin: usb: add state of usb extcon to monitorffs" into sc-dev am: 14d9a90c

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

Change-Id: I3be37a1a7080d9c565f16d55dbc8d5688aa89bac
parents ac4b6540 14d9a90c
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();