OSDN Git Service

Fix the calling pattern of the debug dump functions
authorPavlin Radoslavov <pavlin@google.com>
Thu, 28 Jan 2016 16:45:46 +0000 (08:45 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Thu, 28 Jan 2016 16:45:46 +0000 (08:45 -0800)
commitadca1518b51935a446d968d4c893a4fd46a00621
tree1f95c53b03a4d37a597a6f0138b604fa00e3cd6a
parent8113f8cb28507b08df0645c701b1c47cb491a13a
Fix the calling pattern of the debug dump functions

Group together the calls to the internal foo_dump() functions,
so the output file descriptor is not closed prematurely.

Bug: 26847370
Change-Id: I3afc9502169424081efcc5deae055fbbd91ed5f1
btif/include/btif_debug.h
btif/src/bluetooth.c
btif/src/btif_debug.c