commit | 00f2d25d8c3ca3d77eec7261e5b167f35af671c8 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Jun 18 14:55:27 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Mon Jun 18 14:55:27 2018 -0700 |
tree | 9308ce38921813c7542c2ed43edb366b32dd7e23 | |
parent | f39750be3330f74b51742c8296df2ef6e5352eeb [diff] |
adb: add an id field to fdevent. Tracking fdevents by pointer is dangerous because an fdevent can be destroyed and recreated at the same address. Add a monotonically increasing id field to fdevent for this purpose. Test: treehugger Change-Id: I706b57a9e669290ef2db258f85489a5155fc1152