summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorMichael Ollanketo <michael.ollanketo@sonymobile.com>2013-02-21 13:20:11 +0100
committerhenrik baard <henrik.baard@sonymobile.com>2014-01-09 12:28:22 +0000
commit2a39c6ff73f3e2610f7624bf5966f2ee2f6e1923 (patch)
tree583f3a911979c690f220083d657d4c2f8f107a68 /libs/hwui/renderthread/DrawFrameTask.cpp
parent76d5cdd820b5d81af8de73180c272d7f8a01caae (diff)
Add explicit close of Scanner input
The UsbDeviceManager is using a Scanner to identify the ALSA card/device numbers to use for USB Gadget audio, with a FileInputStream as its input. Since FileInputStream implements the Closeable interface it provides a close() method that should be explictly called in order to close the stream source and release any system resources that it might hold. Change-Id: Ia0ff86d1f3cdf8916becec9c8603915dcbf4d2c8
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions