summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Chi <raychi@google.com>2021-05-26 02:26:04 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-26 02:26:04 +0000
commitda3c4b3641b36a5765b285750746860ce67aa743 (patch)
treef3c95fac138c2751453f0d593c0100e9a5992f3a
parent27a8115a2aa641d539f118fdc09a39be6303b94f (diff)
parentad2114de419867c79db9c34a7ad1a90a54ce87be (diff)
downloadbramble-da3c4b3641b36a5765b285750746860ce67aa743.tar.gz
Revert "bramble: usb: add state of usb extcon to monitorffs" am: ad2114de41
Original change: https://android-review.googlesource.com/c/device/google/bramble/+/1716588 Change-Id: Ibcd20be36f1f68fdcebb11d1b29789d684c762fe
-rw-r--r--usb/UsbGadget.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usb/UsbGadget.h b/usb/UsbGadget.h
index 32b173f..93c7d66 100644
--- a/usb/UsbGadget.h
+++ b/usb/UsbGadget.h
@@ -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();