Merge "Use setIdentifier instead of dynamic categories" into tm-qpr-dev am: 861541ab83

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20214088

Change-Id: I214c07a3d95cfa3cab254da5b3f68823a0a8c066
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
John Wu
2022-10-18 20:43:07 +00:00
committed by Automerger Merge Worker

View File

@@ -290,7 +290,7 @@ public class InstantAppNotifier
.setComponent(aiaComponent)
.setAction(Intent.ACTION_VIEW)
.addCategory(Intent.CATEGORY_BROWSABLE)
.addCategory("unique:" + System.currentTimeMillis())
.setIdentifier("unique:" + System.currentTimeMillis())
.putExtra(Intent.EXTRA_PACKAGE_NAME, appInfo.packageName)
.putExtra(
Intent.EXTRA_VERSION_CODE,