)]}'
{
  "commit": "97ec7ba77d17976a457558c4140b79b5f839c883",
  "tree": "7ea836a470bdc6217e26752e75481547ee7dd9d9",
  "parents": [
    "9949826143673d8a94ab2f4efcac8d9d929997bc"
  ],
  "author": {
    "name": "Josh Hou",
    "email": "joshhou@google.com",
    "time": "Wed Jul 01 01:46:21 2026 -0700"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Wed Sep 02 23:42:41 2026 -0700"
  },
  "message": "Fix crash in getOverrideLocaleConfig when package is not found\n\nWhen getOverrideLocaleConfig is called for a package that is not installed\nfor the target user, it previously threw an IllegalArgumentException because\nisPackageOwnedByCaller checked the package UID and threw if it was \u003c 0.\n\nThis caused crashes in Settings (which calls getOverrideLocaleConfig via\nLocaleConfig constructor to check if apps support locales) when it queried\npackages that were not installed in the current user profile (e.g. test packages\nonly installed in user 0 but queried in user 10).\n\nThis change adds a package existence check at the beginning of\ngetOverrideLocaleConfig, returning null immediately if the package is not found,\nrestoring the previous behavior and preventing crashes.\n\nBug: 495409704\nBug: 529474515\nTest: atest FrameworksServicesTests:LocaleManagerServiceTest\nFlag: EXEMPT BUGFIX\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:0b14d40e2f7cb84add09163976f7cbb45e1d3b7a\nMerged-In: I12dea12f5dc790edb45091bc3eaca59748f3b273\nChange-Id: I12dea12f5dc790edb45091bc3eaca59748f3b273\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1ac042614b711ca36f574dc448de4c20d9938e94",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/locales/LocaleManagerService.java",
      "new_id": "eb17d830f14942f86f439f07065ca8bfe7562635",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/locales/LocaleManagerService.java"
    },
    {
      "type": "modify",
      "old_id": "425f720f1a8edfdd803cdcdb6dcc06690ac680ec",
      "old_mode": 33188,
      "old_path": "services/tests/servicestests/src/com/android/server/locales/LocaleManagerServiceTest.java",
      "new_id": "274fcc3a79369290eb971f740ba693d62fb1e00e",
      "new_mode": 33188,
      "new_path": "services/tests/servicestests/src/com/android/server/locales/LocaleManagerServiceTest.java"
    }
  ]
}
