)]}'
{
  "commit": "37ccd192ed7550bc6055ed09cc6a3692fc0d8bfa",
  "tree": "7fbe9b81804551953d55c62f1401fa5b4d17fa56",
  "parents": [
    "7e1188270bc67e677a933dae218c94e63117eae8"
  ],
  "author": {
    "name": "Matías Hernández",
    "email": "matiashe@google.com",
    "time": "Wed Feb 21 17:54:10 2024 +0100"
  },
  "committer": {
    "name": "Matías Hernández",
    "email": "matiashe@google.com",
    "time": "Wed Feb 21 17:54:10 2024 +0100"
  },
  "message": "Verify rule ownership in setAutomaticZenRuleState\n\nImplementation now matches API documentation -- apps can only activate/deactivate their own rules.\n\nAlso refactored applyGlobalZenModeAsImplicitZenRule slightly to remove repetition and call setAutomaticZenRuleStateLocked directly (doesn\u0027t need the rule ownership check since we already know it\u0027s the implicit rule for that package).\n\nFixes: 326199494\nTest: atest ZenModeHelperTest NotificationManagerZenTest\nChange-Id: I4efecaafb7798dc72bf0955c1b1604c92c8f27e8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "efb8c84d788abc61b209baf776c03e738bf0aeb3",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/notification/ZenModeHelper.java",
      "new_id": "912b06631994ccfbb7aeab3a9995a73ad1ff00c5",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/notification/ZenModeHelper.java"
    },
    {
      "type": "modify",
      "old_id": "3f2ccafe6425ada17ae6121c4f72bc0079430869",
      "old_mode": 33188,
      "old_path": "services/tests/uiservicestests/src/com/android/server/notification/ZenModeHelperTest.java",
      "new_id": "8c50ef406ec6b84de09091b429fd964c15f509b0",
      "new_mode": 33188,
      "new_path": "services/tests/uiservicestests/src/com/android/server/notification/ZenModeHelperTest.java"
    }
  ]
}
