summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/15
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2014-07-29 10:41:40 -0700
committerCraig Mautner <cmautner@google.com>2014-07-29 23:23:01 +0000
commitf4f8bb793fe101af770dc974b29c26722bce285f (patch)
tree56e3284170a54b0d63b6d1a79ee7a58dac11cae6 /docs/html/sdk/api_diff/15
parentf52773fd62fc2fec40c2e17230b644dfbee6cf2d (diff)
Eliminate memory leak in TaskPersister
Bitmaps added to TaskPersister were piling up in the queue. - The mRecentsChanged flag was being modified without holding the lock. There is no mRecentsChanged flag now. Everything to be written goes into a queue. - TaskPersister now runs until the queue is empty. - Bitmaps being written to the same file were being added to the end of the queue without replacing the earlier bitmap. Now we search the queue for matching tasks and replace the bitmaps if needed. - Method notify() was renamed to wakeup() so IDE could find usages quicker. - Bitmaps that were being requested but were still in the queue are now being fetched from the queue. Fixes bug 16512870. Change-Id: Idca1c712e5d2df8196e93faaf563a54405ee96bf
Diffstat (limited to 'docs/html/sdk/api_diff/15')
0 files changed, 0 insertions, 0 deletions