)]}'
{
  "commit": "5caa51d1745a1e432362aa90d22a177fc9d78ef3",
  "tree": "e57a91123f73a6d69d211ced3b68bbb2592d8b92",
  "parents": [
    "7a8d3e3d188d24194f39a7e6d18d884133467a0f"
  ],
  "author": {
    "name": "Aishwarya Mallampati",
    "email": "amallampati@google.com",
    "time": "Tue Nov 01 17:04:35 2022 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Fri Jul 14 17:30:12 2023 +0000"
  },
  "message": "DO NOT MERGE Grant carrier privileges if package has carrier config access.\n\nTelephonyManager#hasCarrierPrivileges internally uses\nSubscriptionManager#canManageSubscription to decide whether to grant\ncarrier privilege status to an app or not.\nSubscriptionManager#canManageSubscription returns true if caller APK\u0027s\ncertificate matches with one of the mNativeAccessRules or\nmCarrierConfigAccessRules. This over-grants carrier privilege status\nto apps that only has mNativeAccessRules.\nCarrier privilege status should\nbe granted to the caller APK only if it\u0027s certificate matches with one\nof mCarrierConfigAccessRules.\nReplaced SubscriptionManager#canManageSubscription with\nPhoneInterfaceManager#hasCarrierConfigAccess which returns true only if\ncaller APK certificates matches with one of mCarrierConfigAccessRules of\nthe given subscription.\n\nBug: 226593252\nTest: Manual Testing as explained in b/226593252#comment51\n      atest CtsTelephonyTestCases\n      Flashed build on raven-userdebug and performed basic\n      funtionality tests\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fc32ff6c0bbbeeb7dd6c4e0af1f77ce8f19bcbd1)\nMerged-In: I662064529d2a9348f395fe3b541366de8bc2fe7d\nChange-Id: I662064529d2a9348f395fe3b541366de8bc2fe7d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2d50e08ab9223593dcdd2ba17c2bd2ff34db93c5",
      "old_mode": 33188,
      "old_path": "telephony/java/android/telephony/SubscriptionInfo.java",
      "new_id": "4719d7374b1b7eeeed6616c568a6210d9ee0454c",
      "new_mode": 33188,
      "new_path": "telephony/java/android/telephony/SubscriptionInfo.java"
    }
  ]
}
