commit | 50e1b09e6e5bb8e1993d98fb14c690de743b53df | [log] [tgz] |
---|---|---|
author | Paul Westbrook <pwestbro@google.com> | Sat Jul 21 03:42:44 2012 -0700 |
committer | Paul Westbrook <pwestbro@google.com> | Sat Jul 21 03:51:49 2012 -0700 |
tree | 93d3f79c0c3cc1f47c3f3bf14c5465be3af2fc55 | |
parent | 5697f9230a9ef999f1242d4611018109703e8b3c [diff] |
Improve reliablity of widget The widget service held a reference to a single cursor, and just called requery() on it when attempting update the data. requery() can fail, and if it does the cursor is invalid. Now, use a CursorLoader to get updated cursors Bug: 6819588 Bug: 5763272 Change-Id: Ic33d59560a24d66e5d0d586e7061b422eace70f9