)]}'
{
  "commit": "ebd26d85a9e59569e587d5ad6384c1a0fe4440cc",
  "tree": "f79ebc5f4851ff3aeca238ecb06e01df80f92f49",
  "parents": [
    "1ff4c24ef869da96072ac80baa1e5494956911bc"
  ],
  "author": {
    "name": "Song Chun Fan",
    "email": "schfan@google.com",
    "time": "Tue Nov 11 00:03:48 2025 +0000"
  },
  "committer": {
    "name": "Song Chun Fan",
    "email": "schfan@google.com",
    "time": "Mon Jan 12 11:16:54 2026 -0800"
  },
  "message": "[UidMigration] fix update uninstallation with sharedUserMaxSdkVersion\n\nWhen a system app is re-enabled after the update is uninstalled, when\nthe system app has shared uid, the current code doesn\u0027t support\ndirectly reusing the disabled package setting. Instead, the preloaded\nversion is re-scanned and installed as a new app, which can bring\nbreaking behavior of changed UIDs when the manifest has\nsharedUserMaxSdkVersion.\n\nThis change fixes the bug where registerExistingAppId fails when it\ncomes to shared uid, therefore directly reuses the disabled package\nsetting, consistent with the behavior for non-shared-uid system apps.\n\nFLAG: EXEMPT BUGFIX\nTest: manually with system-app-test.sh\nBUG: 454062218\n\nChange-Id: I9187ee77bac2a00d679a1a3cc7de2df564f38684\nMerged-In: I9187ee77bac2a00d679a1a3cc7de2df564f38684\n\n(cherry picked from commit 6b5ea2f7fbf50313d46e54e0d8f8c18c398e4869)\n\nChange-Id: I1add6ba4a9c0a30a1c029974e70c21eb7a0fe5d5\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "aaf13ebeff2a15d1d0fd049a3596dda65b75aeff",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/pm/Settings.java",
      "new_id": "ea818518339d4c40500d572441b2518f6026aa7a",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/pm/Settings.java"
    },
    {
      "type": "modify",
      "old_id": "3c753326fb7d0c966ba0f93e9a0d24707067a6ad",
      "old_mode": 33188,
      "old_path": "services/tests/mockingservicestests/src/com/android/server/pm/MockSystem.kt",
      "new_id": "f724acb3c1b2d7afbf2438cd9a600ed086f50304",
      "new_mode": 33188,
      "new_path": "services/tests/mockingservicestests/src/com/android/server/pm/MockSystem.kt"
    }
  ]
}
