summaryrefslogtreecommitdiff
path: root/usb
diff options
context:
space:
mode:
authorRay Chi <raychi@google.com>2021-05-12 23:47:40 +0800
committerRay Chi <raychi@google.com>2021-05-12 23:48:00 +0800
commit91fc327bb97a2302b25fda99ba25c3f39be42367 (patch)
treec9910da91e807de1f9b03b51c616fda62daa9d53 /usb
parentab8632f5033441ae977962f68d154338cd0dd37d (diff)
downloadbramble-91fc327bb97a2302b25fda99ba25c3f39be42367.tar.gz
Revert "bramble: usb: add state of usb extcon to monitorffs"
This reverts commit 76abcff08593c8ff581aea1355bae519912c85d2. Reason for revert: using alternate method for original behavior change Bug: 187261232 Test: build pass Change-Id: I817915bbaa56f48e907176ed334a3de14b4f173e
Diffstat (limited to 'usb')
-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();