Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 355ef32088806fb8b561f624a09ea50e8017a462
Author: Jeremy Woods <jbwoods@google.com>
Date: Mon Jul 27 13:06:17 2020
Ensure fragments can startIntentSenderForResult with options
Fragments were incorrectly ignoring the options starting an IntentSender
for result. We should make sure Fragment always forwards the options to
ComponentActivity, and that ComponentActivity correctly adds them to the
startIntentSenderForResult call.
Test: tested in app
Bug: 162247961
Change-Id: I4a9a2930df1408b4e723fe1c160405602123e475
M activity/activity/src/main/java/androidx/activity/ComponentActivity.java
M fragment/fragment/src/main/java/androidx/fragment/app/FragmentManager.java
https://android-review.googlesource.com/1373381
Branch: androidx-master-dev
commit 355ef32088806fb8b561f624a09ea50e8017a462
Author: Jeremy Woods <jbwoods@google.com>
Date: Mon Jul 27 13:06:17 2020
Ensure fragments can startIntentSenderForResult with options
Fragments were incorrectly ignoring the options starting an IntentSender
for result. We should make sure Fragment always forwards the options to
ComponentActivity, and that ComponentActivity correctly adds them to the
startIntentSenderForResult call.
Test: tested in app
Bug: 162247961
Change-Id: I4a9a2930df1408b4e723fe1c160405602123e475
M activity/activity/src/main/java/androidx/activity/ComponentActivity.java
M fragment/fragment/src/main/java/androidx/fragment/app/FragmentManager.java
jb...@google.com <jb...@google.com> #3
This has been fixed internally and will be available in the Fragment 1.3.0-alpha08 release.
Description
Currently, if using the
startIntentSenderForResult()
fragment APIs, activity launch options are ignored. The options may not be correctly passed to theComponentActivity
and even if they are, they are not being extracted correctly.We should ensure that the options are properly received by
ComponentActivity
and that they are actually being used.