Fixed the build break in cf_x86_tv-userdebug
Change the long to int64_t in function setCurrentUsbFunctions
Bug: 260947383
Change-Id: I4832e2890ea561c8ad377e5a62bfa22dae35bf0f
Signed-off-by: Ricky Niu <rickyniu@google.com>
diff --git a/usb/gadget/aidl/default/UsbGadget.h b/usb/gadget/aidl/default/UsbGadget.h
index e119419..adcfcfa 100644
--- a/usb/gadget/aidl/default/UsbGadget.h
+++ b/usb/gadget/aidl/default/UsbGadget.h
@@ -89,9 +89,9 @@
bool mCurrentUsbFunctionsApplied;
UsbSpeed mUsbSpeed;
- ScopedAStatus setCurrentUsbFunctions(long functions,
+ ScopedAStatus setCurrentUsbFunctions(int64_t functions,
const shared_ptr<IUsbGadgetCallback> &callback,
- int64_t timeout, int64_t in_transactionId) override;
+ int64_t timeoutMs, int64_t in_transactionId) override;
ScopedAStatus getCurrentUsbFunctions(const shared_ptr<IUsbGadgetCallback> &callback,
int64_t in_transactionId) override;