Parent: e3d07f58d15072c60703ab5bbe2e3b33513a000c
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-12-20 13:07:53
Tree: 0c94f83c8a7720438c83f3fbc2f0e4d66308e627
android/AVDTP: Duplicate fd passed to avdtp_new This use dup to create a new fd to be used by AVDTP session leaving the caller free to close the original fd. Note that even if the caller decides to keep the original fd it will still be notified when avdtp_shutdown is called since it uses shutdown.
Diffstat
| M | android/a2dp.c | | | 6 | +++++- |
| M | android/avdtp.c | | | 9 | ++++++++- |
2 files changed, 13 insertions(+), 2 deletions(-)