Skip to content

Commit 013f30e

Browse files
fix added for pick contact
1 parent d774087 commit 013f30e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/Essentials/src/Platform/IntermediateActivity.android.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,10 @@ protected override void OnDestroy()
104104
// (it won't exist if OnActivityResult already processed it)
105105
if (GetIntermediateTask(guid, true) is IntermediateTask task)
106106
{
107-
// Only cancel picker tasks (FilePicker, MediaPicker, MediaCapture)
108-
// Other tasks like WebAuthenticator may have different behavior expectations
109107
if (task.RequestCode == PlatformUtils.requestCodeFilePicker ||
110108
task.RequestCode == PlatformUtils.requestCodeMediaPicker ||
111-
task.RequestCode == PlatformUtils.requestCodeMediaCapture)
109+
task.RequestCode == PlatformUtils.requestCodeMediaCapture ||
110+
task.RequestCode == PlatformUtils.requestCodePickContact)
112111
{
113112
task.TaskCompletionSource.TrySetCanceled();
114113
}

0 commit comments

Comments
 (0)