summaryrefslogtreecommitdiff
path: root/java/com/android/dialer
diff options
context:
space:
mode:
authortwyen <twyen@google.com>2017-07-25 10:58:44 -0700
committerEric Erfanian <erfanian@google.com>2017-07-25 11:32:19 -0700
commit6d28f3de82ddfb254892689c69e15322df36d829 (patch)
treee02e395ccdf384138d20ae9bfc3191bf454d6bfa /java/com/android/dialer
parentddcf1a5b6878b2f9401c20efc62e1fba90e6f52e (diff)
Remove dependency on the DIRTY flag for marking voicemails as read
Previously the DIRTY flag is used to track which voicemails has local changes that need to be uploaded to the server. The DIRTY flag is updated by the content provider and is super janky. Whenever dialer writes to the calllog or the voicemail provider the dirty flag is cleared. When the user modified a voicemail entry, an upload is issued and blindly marking all locally read or deleted items on the server. The content on the server was never check during an upload. After this CL, the DIRTY flag is ignored. Upload and download is now always done together. The list of voicemails on hte sever will be downloaded first, and if any voicemail is read locally but not on the server then it will be uploaded. As the full sync when the user opens the voicemail tab was implemented, this additional transaction cost should be neglectable. Bug: 62867500 Test: Auto test ETA Christmas, 2030. Manual: mark voicemail as read/delete voicemail. PiperOrigin-RevId: 163093305 Change-Id: I09e918f32b9b1ffdad80731f7c25f894be2826f3
Diffstat (limited to 'java/com/android/dialer')
0 files changed, 0 insertions, 0 deletions