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:
@@ -290,7 +290,7 @@ public class InstantAppNotifier
|
|||||||
.setComponent(aiaComponent)
|
.setComponent(aiaComponent)
|
||||||
.setAction(Intent.ACTION_VIEW)
|
.setAction(Intent.ACTION_VIEW)
|
||||||
.addCategory(Intent.CATEGORY_BROWSABLE)
|
.addCategory(Intent.CATEGORY_BROWSABLE)
|
||||||
.addCategory("unique:" + System.currentTimeMillis())
|
.setIdentifier("unique:" + System.currentTimeMillis())
|
||||||
.putExtra(Intent.EXTRA_PACKAGE_NAME, appInfo.packageName)
|
.putExtra(Intent.EXTRA_PACKAGE_NAME, appInfo.packageName)
|
||||||
.putExtra(
|
.putExtra(
|
||||||
Intent.EXTRA_VERSION_CODE,
|
Intent.EXTRA_VERSION_CODE,
|
||||||
|
|||||||
Reference in New Issue
Block a user