commit | 45741c7c8eebe36aba28d0c74cb3197516da4b4a | [log] [tgz] |
---|---|---|
author | Jin Cao <jinyan@google.com> | Thu Aug 28 16:40:40 2014 -0700 |
committer | Jin Cao <jinyan@google.com> | Fri Aug 29 11:25:46 2014 -0700 |
tree | 8a706bd53263a72103f5e8cd95ebff67c4367195 | |
parent | f7e5393eadece9813ecdcade45c5c651fa161779 [diff] |
Don't close recent suggestions DB if there is a pending save Since the save to DB is performed on asynctask, don't close the DB if there is a pending save waiting to happen. Once the save is complete, then we can close the db. b/17285133 Change-Id: I1d677e8fb4b28c77315dc160b8960fc54d1b46ee