)]}'
{
  "commit": "2f08045972781cba48f0188e1467fa201408b01c",
  "tree": "941060b7abc510900982a7d5c14341bb0cf4e310",
  "parents": [
    "1a2802e9035d540660f9793143cca254b7f92220"
  ],
  "author": {
    "name": "Gyanesh Mittal",
    "email": "gyaneshm@google.com",
    "time": "Mon Aug 10 14:08:11 2026 -0700"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Wed Aug 19 23:23:08 2026 -0700"
  },
  "message": "Truncate existing vcf file when exporting contacts\n\nWhen exporting contacts to an existing vCard file, the file is not\ntruncated if the new export is smaller than the old one. This leaves\nstale contact data at the end of the file, which can be recovered by\nrecipients.\n\nThis change uses mode \"wt\" for opening the output stream, which ensures\nthat the file is truncated when opened for writing.\n\nBug: 473028791\nTest: atest ContactsTests:com.android.contacts.vcard.ExportProcessorTest\nFlag: EXEMPT BUGFIX\n\nNote: This was autogenerated by MendIt (go/androidmendit)\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:ba09ce483c89fcab71f7ab01d582486747b05ce1\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:d67b46152230a931b8dd37ca0b591e8f23ba0817\nMerged-In: Iab4f76a190b7e3d7db544aff4e3b0aca63cdb16f\nChange-Id: Iab4f76a190b7e3d7db544aff4e3b0aca63cdb16f\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fd5134c389ebe7215a6f3a181db6ccdf1dec8401",
      "old_mode": 33261,
      "old_path": "src/com/android/contacts/vcard/ExportProcessor.java",
      "new_id": "44068a6e6f1afabeabae2dce0687aab968980250",
      "new_mode": 33261,
      "new_path": "src/com/android/contacts/vcard/ExportProcessor.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "09f5619d18a5d4833ae37a5291b731c5ccf3c047",
      "new_mode": 33188,
      "new_path": "tests/src/com/android/contacts/vcard/ExportProcessorTest.java"
    }
  ]
}
