commit | 71f775a9448d483e031767f0a1afb5ef104a36d0 | [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 | 4ca25d608075c4f24f5a650f8122786a7594eba2 | |
parent | 2744084981f29726ddccc64220a191002a772a32 [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