Skip to content
Commit 82852773 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Frameworks/base: Fix old code in MediaPlayer

InputStream has been replaced with direct fd usage. Remove that
code.

Remove extra final variable, rename duped fd variable.

Close the file descriptor when done to avoid a leak.

Bug: 19797138
Change-Id: I0c7baece9501e67b80083d448c51b329653c90f6
parent d3e6428a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment