commit | 1293716052d8db69d67c85037189b73b07dbea7e | [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 | 01beaf45678f0e3a485969ccba36100ec2f57c2e | |
parent | dd9cf9995dbcccd6087a947e363fe5d57942a16c [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