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: Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#691891}
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user