Commit 52c34f18 authored by Nandhini's avatar Nandhini Committed by Commit Bot

SetPackage in Lens deeplink Intent.

Bug: 999272
Change-Id: If23c397fc23a657e09b2291ab9ea1c12b319ee35
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1776609
Commit-Queue: Nandhini Raman <nraman@google.com>
Reviewed-by: default avatarTheresa  <twellington@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691891}
parent c815aa69
......@@ -93,6 +93,7 @@ public class LensUtils {
IntentHandler.PACKAGE_GSA, imageUri, Intent.FLAG_GRANT_READ_URI_PERMISSION);
}
Intent intent = new Intent(Intent.ACTION_VIEW).setData(lensUri);
intent.setPackage(IntentHandler.PACKAGE_GSA);
intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
return intent;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment