)]}'
{
  "commit": "f39f30deee7aaf71ed561eaedb896c55dcee8448",
  "tree": "8f70624d7d72777c745226056a48f8bdb4ac4b49",
  "parents": [
    "3579c254fdb57257ba0bd78b3391a843db8a30f0"
  ],
  "author": {
    "name": "Michael Groover",
    "email": "mpgroover@google.com",
    "time": "Mon Nov 25 16:17:55 2024 -0600"
  },
  "committer": {
    "name": "Michael Groover",
    "email": "mpgroover@google.com",
    "time": "Mon Nov 25 16:24:37 2024 -0600"
  },
  "message": "Add ALLOWLISTED permission to DeviceConfigApiPermissionTests\n\nAndroid 16 introduces restrictions on the DeviceConfig flags that\ncan be modified by the shell user by removing the WRITE_DEVICE_CONFIG\npermission from this user and replacing it with the\nWRITE_ALLOWLISTED_DEVICE_CONFIG permission; with this permission,\nonly those flags that have been allowlisted can be modified. This\ncommit adds the ALLOWLISTED permission to the\nDeviceConfigApiPermissionTests to ensure the mutator APIs behave\nas expected when one of the necessary WRITE permission is granted.\nThis commit also adds an additional test case to verify that the\nmutator APIs throw a SecurityException if the calling package only\nhas the ALLOWLISTED permission and attempts to modify / delete a\nflag that has not been allowlisted.\n\nBug: 364083026\nFlag: TEST_ONLY\nTest: atest DeviceConfigApiPermissionTests\nChange-Id: I6999944d7624ea7f8a2ec184102ef7a606482c51\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "010da85103806f1d45b1a2f8075c709eacfda326",
      "old_mode": 33188,
      "old_path": "tests/tests/deviceconfig/src/android/deviceconfig/cts/DeviceConfigApiPermissionTests.java",
      "new_id": "929518916b951b17b62cf3c6600fcdf94d9cecaf",
      "new_mode": 33188,
      "new_path": "tests/tests/deviceconfig/src/android/deviceconfig/cts/DeviceConfigApiPermissionTests.java"
    }
  ]
}
