)]}'
{
  "commit": "006eed8e3ad8b38915c55092346fb149298975a0",
  "tree": "cb2762ef9c3a5db376fdccd9480c23e5c380148e",
  "parents": [
    "a485006ab147695fa28ec20c11ffef4f018253a3"
  ],
  "author": {
    "name": "Eric Biggers",
    "email": "ebiggers@google.com",
    "time": "Mon Jul 06 13:46:38 2020 -0700"
  },
  "committer": {
    "name": "Eric Biggers",
    "email": "ebiggers@google.com",
    "time": "Tue Jul 07 10:08:22 2020 -0700"
  },
  "message": "vold: only allow emmc_optimized on eMMC storage\n\nThe emmc_optimized encryption flag is specifically designed for the\nlimitations of inline encryption hardware that follows the eMMC\nstandard.  It isn\u0027t appropriate to use on other types of storage.\nSo, make vold enforce that it\u0027s not used on other types of storage.\n\nBug: 160639344\nTest:\n  - Enabled emmc_optimized on Cuttlefish and verified it no longer boots\n  - Using a modified version of this change, verified that\n    IsEmmcStorage() works as expected on various devices including\n    Cuttlefish, Cuttlefish booted in GSI image mode, a device with eMMC\n    storage, and a device with UFS storage.\n  - Verified that VtsKernelEncryptionTest still passes\nChange-Id: Ie27b80658db53b1a4207b3cbb4e309d05130812e\nMerged-In: Ie27b80658db53b1a4207b3cbb4e309d05130812e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d5cd33581c6e475572e59447d4257671552e95d",
      "old_mode": 33188,
      "old_path": "FsCrypt.cpp",
      "new_id": "e21524ac90e6730a1f5dd6d5f6d2832decdf29ab",
      "new_mode": 33188,
      "new_path": "FsCrypt.cpp"
    }
  ]
}
