Update ActivityIntentHelper to use PendingIntents directly

Use PendingIntent.queryIntentComponents to query components instead of
going through the intent contained. This allows package manager to
properly determine the identity to perform the intent resolution.

Bug: 238415222
Bug: 271845008
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3ee3b7a20a109063cdc2233a1429f78ad8c5ab79)
Merged-In: I0dd32765755732a7a9141e3be2b04b7eed696928
Change-Id: I0dd32765755732a7a9141e3be2b04b7eed696928
5 files changed