diff options
| author | 2009-06-01 21:50:09 +0100 | |
|---|---|---|
| committer | 2009-06-03 12:53:43 +0100 | |
| commit | c55e08e3fc14475b3b15b4c87aaef7e47ec8a172 (patch) | |
| tree | 134d5a100bcdfc73912d49fdf8d2380a9a66ba50 /libs/utils/ZipFileRO.cpp | |
| parent | c1823701cc76790494fb622fe58f0942236cd7d0 (diff) | |
Allow making AssetFileDescriptors from SQLite blobs.
This change adds a new class SQLiteContentHelper, which contains
a static method for creating an AssetFileDescriptor from
an SQLite query that returns a blob.
Internally, this uses a file descriptor for a MemoryFile.
The implementation is temporary. Ideally, the data should be copied
directly from SQLite to the MemoryFile ashmem region, using
sqlite3_blob_read().
This is part of the implementation of http://b/issue?id=1871731
Diffstat (limited to 'libs/utils/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions