diff options
author | Jens Gulin <jens.gulin@sonyericsson.com> | 2010-06-22 22:21:57 +0200 |
---|---|---|
committer | Johan Redestig <johan.redestig@sonyericsson.com> | 2010-06-28 11:36:14 +0200 |
commit | 6d85ea9c556be7b49302d2f35f4ebc99b4827366 (patch) | |
tree | 6a16cb589b047fc09dbd554cd87eb065acb9447d /api | |
parent | dd1880ee5bea09e9d37c6db29ef20e49d619c094 (diff) | |
download | frameworks_base-6d85ea9c556be7b49302d2f35f4ebc99b4827366.zip frameworks_base-6d85ea9c556be7b49302d2f35f4ebc99b4827366.tar.gz frameworks_base-6d85ea9c556be7b49302d2f35f4ebc99b4827366.tar.bz2 |
Keep track of remaining fd when devices are removed
Sometimes the wrong fd was accessed when the device was addressed
by device id.
The earlier implementation assumed that two arrays were in sync
but one of them was compacted when devices were removed. Instead
of that dependency the device now keeps track of it's file descriptor.
Change-Id: I2b8a793d76b89ab464ae830482b309fe86031671
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions