Make sure sharing intents constructed with ShareCompat helpers set Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET.
Make sure sharing intents constructed with ShareCompat helpers set
Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET.

Change-Id: I3c002850fe04da72b4b18610e36382ccae87b919

AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,aosp-mirror/platform_frameworks_support,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,AndroidX/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,AndroidX/androidx