)]}'
{
  "commit": "7a84eaef3ca804bcec92a6bfbd689d79676325d7",
  "tree": "d52b94b1928fda38373af6f7016a68d77f98bc3f",
  "parents": [
    "07b93779ba30dd1d0350ad26d0d7e4aa36e96eb8"
  ],
  "author": {
    "name": "Jean-Michel Trivi",
    "email": "jmtrivi@google.com",
    "time": "Tue Jun 20 14:58:18 2017 -0700"
  },
  "committer": {
    "name": "Jean-Michel Trivi",
    "email": "jmtrivi@google.com",
    "time": "Tue Jun 20 22:45:14 2017 +0000"
  },
  "message": "DnD: Total silence doesn\u0027t suppress A11y\n\nWhen entering Total silence mode, text prompts from a11y were losing\n AppOpsManager.OP_PLAY_AUDIO, causing them to play muted (amplification\n of 0.0f) even though the STREAM_ACCESSIBILITY volume was not.\nThe fix consists in adding another category of sound suppression\n behavior in AudioAttributes, for usage types that should never be\n suppressed (\u003d\u003d muted), and using it for USAGE_ACCESSIBILITY.\n When ZenModeHelper iterates over usages to mute/unmute players,\n consider whether that usage\u0027s suppression behavior is SUPPRESSIBLE_NEVER.\n\nTest: turn Talkback on, then enter Total silence and verify Talkback is heard\nBug 62827456\n\nChange-Id: I48cae48797ef9bc6bcaee82484ba078ee445345c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e36ceb8a3e131c02755b05b8e4f76c4307f73c82",
      "old_mode": 33188,
      "old_path": "media/java/android/media/AudioAttributes.java",
      "new_id": "c1e81c54f11741ceedfe7261512d563b4509a1df",
      "new_mode": 33188,
      "new_path": "media/java/android/media/AudioAttributes.java"
    },
    {
      "type": "modify",
      "old_id": "75190f3e3e898af11507389f3be6a7c9a64a14a8",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/notification/ZenModeHelper.java",
      "new_id": "15e32ff6469e2309ba3c43f9f7e285a909b20a14",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/notification/ZenModeHelper.java"
    }
  ]
}
