commit | 2a39c6ff73f3e2610f7624bf5966f2ee2f6e1923 | [log] [tgz] |
---|---|---|
author | Michael Ollanketo <michael.ollanketo@sonymobile.com> | Thu Feb 21 13:20:11 2013 +0100 |
committer | henrik baard <henrik.baard@sonymobile.com> | Thu Jan 09 12:28:22 2014 +0000 |
tree | 583f3a911979c690f220083d657d4c2f8f107a68 | |
parent | 76d5cdd820b5d81af8de73180c272d7f8a01caae [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