)]}'
{
  "commit": "b092825f8de742c35006ef60fe483a0ef6d8a6d2",
  "tree": "7f8e7a476f3660a38dae59fca5f229830b19531d",
  "parents": [
    "dc57784603d6250a2d97b5e52d24c8483029a460"
  ],
  "author": {
    "name": "Rambo Wang",
    "email": "rambowang@google.com",
    "time": "Fri May 06 00:53:34 2022 +0000"
  },
  "committer": {
    "name": "Cherrypicker Worker",
    "email": "android-build-cherrypicker-worker@google.com",
    "time": "Wed Mar 20 18:08:45 2024 +0000"
  },
  "message": "CarrierAppUtils: uninstall prebuild carrier app at most once\n\nPixels (and other OEM products) have feature to integrate\npreloaded carrier apps (e.g. Tycho for Google Fi).\nThe carrier app will be uninstalled/hidden firstly if it does\nnot get the carrir privileges. When user insert SIM for the\ncarrier, the carrier app will be shown again, saving the user\neffort/cost to download the carrier app from play store.\n\nThe issue scenario here is that after user has upgraded the\ncarrier app (e.g. through PlayStore) and then OTA upgrading a\nnew android release which integrated a new verion of carrier app,\nthe hiding logic is triggered again, causing the tycho\napk upgrading to the new prebuild version but with\nthe previous activation data cleared.\n\nThe CL makes sure the uninstalling logic is only triggered\nat most once. This means, on OTA upgrading to newer\ncarrier app, the newer carrier app does get installed\nbut the hiding logic will not trigger and previous\nactivation data is kept.\n\nBug: 158028151\nTest: atest CarrierAppUtilsTest\nTest: Regression test (go/hide_carrier_app_test_plan)\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:38a4f7e32bb2ba608ceb2df0d33413bd4d060ed9)\nMerged-In: I59ef6170484e08b4558a8918d02bbb801005f175\nChange-Id: I59ef6170484e08b4558a8918d02bbb801005f175\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8531b507a92fdd0e8550fe4708f82c2d74b9cbb8",
      "old_mode": 33188,
      "old_path": "telephony/common/com/android/internal/telephony/CarrierAppUtils.java",
      "new_id": "6482432f4049c25ee7c91cf8e446b7fbb44f028d",
      "new_mode": 33188,
      "new_path": "telephony/common/com/android/internal/telephony/CarrierAppUtils.java"
    }
  ]
}
