)]}'
{
  "commit": "48b7c043666fa18c8964954784fd8af8b56c391f",
  "tree": "e15298a591c26de8025b965981fabc609338c955",
  "parents": [
    "08c93407a230db2272f836f6834e64545bb81131"
  ],
  "author": {
    "name": "Evan Severson",
    "email": "evanseverson@google.com",
    "time": "Thu Aug 08 17:20:47 2024 -0700"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Mon Mar 24 22:34:12 2025 -0700"
  },
  "message": "Delay appop revocation when only capability is lost\n\nOn proc state changes, if the proc state doesn\u0027t change the uid state\nover the restriction threshold and if no new capabilities are added then\ndelay the uid state commit. This fixes cases such as going from\nUID_STATE_TOP -\u003e UID_STATE_FOREGROUND, we shouldn\u0027t be revoking appop\naccess right away.\n\nFlag: android.permission.flags.delay_uid_state_changes_from_capability_updates\nTest: AppOpsUidStateTrackerTest\nBug: 347891382\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:356db3272814f8c7dd12ca2ddf27e812892e330d)\nMerged-In: Ia23c0f5b79fa194539151ffbd04a36891e06361b\nChange-Id: Ia23c0f5b79fa194539151ffbd04a36891e06361b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bca5bcc99c7e53d3ba4176c1dffaa6a84765eb2e",
      "old_mode": 33188,
      "old_path": "core/java/android/permission/flags.aconfig",
      "new_id": "4bc0b3a27b4fc70e004ca7e48b3feae7ffdc58ac",
      "new_mode": 33188,
      "new_path": "core/java/android/permission/flags.aconfig"
    },
    {
      "type": "modify",
      "old_id": "03c81560be8966ff15cdd479e797de5712ea160e",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/appop/AppOpsUidStateTrackerImpl.java",
      "new_id": "ed41f2e881f83e0901a1f91d8fef35e4f3dda1a5",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/appop/AppOpsUidStateTrackerImpl.java"
    },
    {
      "type": "modify",
      "old_id": "1731590be3c92dd03f49da323a02f98173a16788",
      "old_mode": 33188,
      "old_path": "services/tests/mockingservicestests/src/com/android/server/appop/AppOpsUidStateTrackerTest.java",
      "new_id": "026e72f117b42093f666c1a210fd36967aa83ab9",
      "new_mode": 33188,
      "new_path": "services/tests/mockingservicestests/src/com/android/server/appop/AppOpsUidStateTrackerTest.java"
    }
  ]
}
