• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/core


Commit MetaInfo

Revision5dd50fdb9c9386371d3ebafacb04c0270a80d455 (tree)
Time2019-06-25 08:30:43
AuthorDan Albert <danalbert@goog...>
Commiterandroid-build-merger

Log Message

Revert "adb: daemon: Assign valid fd to usb_handle ep0 file descriptor"
am: ba4684c2b2

Change-Id: Idd32e4c28031b07cda09477b819d4bce0434b4fb

Change Summary

Incremental Difference

--- a/adb/daemon/usb_ffs.cpp
+++ b/adb/daemon/usb_ffs.cpp
@@ -257,7 +257,6 @@ bool open_functionfs(android::base::unique_fd* out_control, android::base::uniqu
257257 }
258258 // Signal only when writing the descriptors to ffs
259259 android::base::SetProperty("sys.usb.ffs.ready", "1");
260- *out_control = std::move(control);
261260 }
262261
263262 bulk_out.reset(adb_open(USB_FFS_ADB_OUT, O_RDONLY));
@@ -272,6 +271,7 @@ bool open_functionfs(android::base::unique_fd* out_control, android::base::uniqu
272271 return false;
273272 }
274273
274+ *out_control = std::move(control);
275275 *out_bulk_in = std::move(bulk_in);
276276 *out_bulk_out = std::move(bulk_out);
277277 return true;