)]}'
{
  "commit": "dd21dedbb88c9949fb25e205278f12d5012e861f",
  "tree": "d5f835b9d848249126b8af091a48428323b57f8e",
  "parents": [
    "e2f18877c3d4b07fbc9677e7bf10ba0433b5228e"
  ],
  "author": {
    "name": "Evan Severson",
    "email": "evanseverson@google.com",
    "time": "Thu Feb 05 18:16:55 2026 -0800"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Thu Sep 03 00:30:21 2026 -0700"
  },
  "message": "Enforce suspend restrictions in startOp and noteOp paths\n\nSuspended apps could previously bypass AppOps restrictions by using the\nstartOp and noteOp code paths, as these did not check the package\nsuspended state. This change adds a check for isOpRestrictedDueToSuspend\nin noteOperationUnchecked, startOperationUnchecked, and\nstartOperationDryRun.\n\nRefactored FrameworksServicesTests to verify these restrictions. The\ntests now independently check checkOp, noteOp, and startOp paths for\nthree different operations: OP_RESERVED_FOR_TESTING, OP_VIBRATE, and\nOP_PLAY_AUDIO. This replaces the previous reliance on microphone and\ncamera ops, which cannot be directly changed.\n\nBug: 477935679\nTest: atest FrameworksServicesTests:SuspendPackagesTest \\\n          CtsSuspendAppsTestCases:SuspendPackagesTest\nFlag: EXEMPT CVE_FIX\n(cherry picked from commit 3b8d1a9f49543e8633f51e01488a40c927590764)\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:caa53e28ca4755a49f40f46d5a1b7689774590a4\nMerged-In: Ifeac8cebdec2fb8d6129ecfdf18b4413303b62f4\nChange-Id: Ifeac8cebdec2fb8d6129ecfdf18b4413303b62f4\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "222acd20c209fedea2f7c70559fd2977b4622dab",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/appop/AppOpsService.java",
      "new_id": "9d2d68a87bb4bc9bede72c49581cb9586e5da44b",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/appop/AppOpsService.java"
    },
    {
      "type": "modify",
      "old_id": "2e5feffd8673d58c39b54a19d86e3db1df6daaff",
      "old_mode": 33188,
      "old_path": "services/tests/servicestests/src/com/android/server/pm/SuspendPackagesTest.java",
      "new_id": "749f1fd552178facfa256c9aa21a57eaa814844e",
      "new_mode": 33188,
      "new_path": "services/tests/servicestests/src/com/android/server/pm/SuspendPackagesTest.java"
    }
  ]
}
