)]}'
{
  "commit": "389aab722a4ca5ec4f03131d189f32588344ad10",
  "tree": "83745a1527d7dc9819a516dc4f9af7ba5a2f8a12",
  "parents": [
    "585910c11ec914190013d8b77f3d4bca79072b2c"
  ],
  "author": {
    "name": "Pavel Grafov",
    "email": "pgrafov@google.com",
    "time": "Wed Sep 18 16:34:11 2024 +0100"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Fri Oct 18 23:48:11 2024 +0000"
  },
  "message": "Block uninstall if DMRH in a managed user\n\nPrevious change introduced a bug - on a personal device with a work\nprofile the user could uninstall updates from the personal side, thus\ndowngrading DMRH in the work profile, breaking it. With this change if a\npackage is DMRH on any managed user, uninstall will be blocked\n\nBug: 360807442\nTest: btest a.d.c.DevicePolicyManagementRoleHolderTest\nFlag: EXEMPT bugfix\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3d5d962a6156fa822c0038e85315e7823a68ff59)\nMerged-In: I9fd8bed4a8203f3dbfa8dc4ea1388e7c8d136d9a\nChange-Id: I9fd8bed4a8203f3dbfa8dc4ea1388e7c8d136d9a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ff9c3e5f467b6b69e7de7b44aaaf8c76d778a124",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/pm/PackageManagerService.java",
      "new_id": "611e0d86202a47f3b7ac6128cb8aaaf8e6886289",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/pm/PackageManagerService.java"
    }
  ]
}
