diff options
author | Jens Gulin <jens.gulin@sonyericsson.com> | 2010-06-22 22:21:57 +0200 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-08-18 10:54:03 -0700 |
commit | c4554b9a0885ac3713575e91d8d33c5670b52322 (patch) | |
tree | 2d2b2a6dbc6ea600ac269e753773e9a8a42967ee /core/res | |
parent | d313cab46e07c40f4cd1a94304a553e7eb809190 (diff) | |
download | frameworks_base-c4554b9a0885ac3713575e91d8d33c5670b52322.zip frameworks_base-c4554b9a0885ac3713575e91d8d33c5670b52322.tar.gz frameworks_base-c4554b9a0885ac3713575e91d8d33c5670b52322.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: Ib0f320603aafb07ded354bc3687de9759c9068f2
Diffstat (limited to 'core/res')
0 files changed, 0 insertions, 0 deletions