commit | ac96fa575f17d4a65e65eddebe805c904fb29c19 | [log] [tgz] |
---|---|---|
author | Cary Clark <cary@android.com> | Mon Mar 22 10:56:37 2010 -0400 |
committer | Cary Clark <cary@android.com> | Mon Mar 22 11:12:46 2010 -0400 |
tree | 54c2482cfb7f3f96681622c927ed0b175bbf49f7 | |
parent | fb0de34a47a435b57075d7a72cbc40a2daf5ee6c [diff] |
use the stream instead of the cursor data to return its size Most content providers set up the data size in the cursor that provides the file name, but sound recorder does not. Use the stream size instead, which will work with all sources and probably is no slower. fixes http://b/2529352 http://b/2524574 Change-Id: I32d101d07ca1d0fa2ff17c3c68393356902096d3