)]}'
{
  "commit": "ae2c873754cd8c54ce8a76aacbc0e1a0bf827188",
  "tree": "e42c5fca32c66548baa7d35bdafafe16a3017dba",
  "parents": [
    "0963bdff5bd89f3f1174d80ab9995df1649db1a2"
  ],
  "author": {
    "name": "Raman Tenneti",
    "email": "rtenneti@google.com",
    "time": "Fri Sep 10 21:40:57 2021 +0000"
  },
  "committer": {
    "name": "Raman Tenneti",
    "email": "rtenneti@google.com",
    "time": "Tue Sep 21 20:27:42 2021 +0000"
  },
  "message": "Secure the pendingIntent in SearchWidgetProvider.\n\nFixes - \"PendingIntent in QuickSearchBox Widget ...\" security bug.\n\nThis change is similar to the fix to Settings changes.\n\n+ Assign the package name for pending intent, so that the intent\n  only can launch the QuicSearchBox app.\n\nhttps://googleplex-android-review.git.corp.google.com/c/platform/packages/apps/Settings/+/10526147/2/src/com/android/settings/slices/SettingsSliceProvider.java\n\ngit_qt-dev:\n  https://android-build.googleplex.com/builds/abtd/run/L35800000951088353\n\ngit_rvc-dev:\n  https://android-build.googleplex.com/builds/abtd/run/L61000000951079598\n\ngit_sc-dev:\n  https://android-build.googleplex.com/builds/abtd/run/L60400000951091431\n\n+ Assign the package name for pending intent, so that the intent\n  only can launch the QuicSearchBox app.\n\nOriginal aosp-master cl: aosp/1818517\n\nFix: 184046278\nTest: manual\n+ Verified the above bug is fixes the above bug,\n+ Installed the app and verified search is working.\n\n$ m\n$ ls -l ./out/target/product/bonito/product/app/QuickSearchBox/QuickSearchBox.apk-rw-r--r-- 1 rtenneti primarygroup 701136 Sep  3 14:52 ./out/target/product/bonito/product/app/QuickSearchBox/QuickSearchBox.apk\n\n$ adb install -t ./out/target/product/bonito/product/app/QuickSearchBox/QuickSearchBox.apk\nPerforming Streamed Install\nSuccess\n\n$ make QuickSearchBoxTests\n$ ls -l out/target/product/bonito/testcases/QuickSearchBoxTests/arm64/QuickSearchBox*\n-rw-r--r-- 1 rtenneti primarygroup 33175 Sep  3 16:40 out/target/product/bonito/testcases/QuickSearchBoxTests/arm64/QuickSearchBoxTests.apk\n\n$ adb shell am instrument -w com.android.quicksearchbox.tests\n\ncom.android.quicksearchbox.CachingIconLoaderTest:.\ncom.android.quicksearchbox.LevenshteinFormatterTest:.........................\ncom.android.quicksearchbox.PackageIconLoaderTest:..\ncom.android.quicksearchbox.SuggestionUtilsTest:......\ncom.android.quicksearchbox.util.CachedLaterTest:......\ncom.android.quicksearchbox.util.LevenshteinDistanceTest:.....\ncom.android.quicksearchbox.util.PerNameExecutorTest:...\ncom.android.quicksearchbox.util.PriorityThreadFactoryTest:.\ncom.android.quicksearchbox.util.SingleThreadNamedTaskExecutorTest:.\nTest results for InstrumentationTestRunner\u003d.........................................\n.........\nTime: 0.277\n\nOK (50 tests)\n\nBug: 184046278\n\nChange-Id: Idf5592b14967c6567e898b0b23a5e18f8209f639\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "205e7cc14c4dc8486eac499bf6b47d1d15f5d80b",
      "old_mode": 33188,
      "old_path": "src/com/android/quicksearchbox/SearchWidgetProvider.java",
      "new_id": "fdd8cf3417face4f38f17f00bd1b39f5f894d878",
      "new_mode": 33188,
      "new_path": "src/com/android/quicksearchbox/SearchWidgetProvider.java"
    }
  ]
}
