diff options
| author | 2010-07-16 15:14:08 -0700 | |
|---|---|---|
| committer | 2010-07-21 16:04:04 -0700 | |
| commit | 65a8883f0e605bb8a73a692987b47ce5da632e72 (patch) | |
| tree | 7224e456ae309020f5c48d7a0203823b6262a59b /libs/hwui/ProgramCache.cpp | |
| parent | 71cbae81b05c7fff8e27d54168c24e38693ff2f3 (diff) | |
don't store mDatabase in SQLiteCursor as it is already in SQLiteQuery
SQLiteCursor has two members: mQuery, mDatabase
but mQuery already has mDatabase.
there is no need for SQLiteCursor.mDatabase.
and everytime SQLiteQuery.mDatabase is to be used, try to use a pooled database
connection handle, if possible.
Change-Id: I42b2376d714a1a4091c843e245a45b882bb7fee6
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions