commit | 9528df2055f2edc7257664079da416313b69a6ab | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon May 14 11:14:33 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Tue May 22 14:54:49 2018 -0700 |
tree | ffa6e77f4f0f45df4f0373d8089a68ef34feb401 | |
parent | c83885027b5affad61ebe550ed57141017bbda18 [diff] |
adb: remove fdevent_install, fdevent_remove. Remove fdevent_install and fdevent_remove in favor of using fdevent_create and fdevent_destroy, so that we can put RAII types (i.e. unique_fd) into fdevent without worrying about -Wexit-time-destructors or structs that are freed instead of deleted. Bug: http://b/79786774 Test: python test_device.py Change-Id: I8471cc00574ed492fe1b196944976cdaae8b7cff