Merge "Fix ephemeral intent caching in notification" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-08 17:37:10 +00:00
committed by Android (Google) Code Review

View File

@@ -579,6 +579,7 @@ public class PhoneStatusBarPolicy implements Callback, Callbacks,
.setComponent(aiaComponent)
.setAction(Intent.ACTION_VIEW)
.addCategory(Intent.CATEGORY_BROWSABLE)
.addCategory("unique:" + System.currentTimeMillis())
.putExtra(Intent.EXTRA_PACKAGE_NAME, appInfo.packageName)
.putExtra(Intent.EXTRA_VERSION_CODE, appInfo.versionCode)
.putExtra(Intent.EXTRA_EPHEMERAL_FAILURE, pendingIntent);