commit | 7ccc90955fad0701b6b14c813a2850ee4149c5a2 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon Dec 17 17:03:11 2012 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon Dec 17 17:04:16 2012 -0800 |
tree | 739a3713dfef5518ed642f8602593fd8b772b28a | |
parent | f67c8a9685e0f20d5ffb9de95f6d1ce47f052141 [diff] |
Move stream creation outside of DrmOutputStream. More closely matches the object ownership pattern used by other stream APIs. Callers must now explicitly finish(). Also fixes write(int) bug by switching to Streams API. Change-Id: I64f9c5887ef02496b1ce4e97ce6af5dad93b4be2