commit | ded557fa58ec2c7c2f2bea8b71d75afe21c37168 | [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 | e44d38d68042afc0cd14ee71e18b2300f2e618b6 [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