Skip to content
Snippets Groups Projects
  1. Mar 27, 2023
    • John Wu's avatar
      Update ActivityIntentHelper to use PendingIntents directly · 3ee3b7a2
      John Wu authored
      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
      Change-Id: I0dd32765755732a7a9141e3be2b04b7eed696928
      Merged-In: I0dd32765755732a7a9141e3be2b04b7eed696928
      3ee3b7a2
    • Beth Thibodeau's avatar
    • John Wu's avatar
      Proper PendingIntent.queryIntentComponents implementation · 6c4a347b
      John Wu authored
      PendingIntent.queryIntentComponents currently does not take the pending
      intent creator UID into account when performing component resolution.
      This will return incorrect results, since explicit intents with
      non-matching intent filter can only be resolved if the sender is the
      same UID as the target component.
      
      Bug: 238415222
      Bug: 271845008
      Test: atest CtsContentTestCases:PackageManagerTest
      Change-Id: Ib4e1c04c8de4e9bcee35d584dfb213954ec65449
      Merged-In: Ib4e1c04c8de4e9bcee35d584dfb213954ec65449
      6c4a347b
  2. Mar 23, 2023
Loading