Don't show intent picker when using camera attachment in a Managed Profile.
Fixes: 195300298 Test: Manual - Follow steps from comment #1 in the bug. Change-Id: Ia58efda81b3cdb9b9f4d2a36cdc4af120d48e010
This commit is contained in:
@@ -246,7 +246,7 @@ public class DefaultCrossProfileIntentFiltersUtils {
|
||||
private static final DefaultCrossProfileIntentFilter MEDIA_CAPTURE =
|
||||
new DefaultCrossProfileIntentFilter.Builder(
|
||||
DefaultCrossProfileIntentFilter.Direction.TO_PARENT,
|
||||
/* flags= */0,
|
||||
/* flags= */ ONLY_IF_NO_MATCH_FOUND,
|
||||
/* letsPersonalDataIntoProfile= */ true)
|
||||
.addAction(MediaStore.ACTION_IMAGE_CAPTURE)
|
||||
.addAction(MediaStore.ACTION_IMAGE_CAPTURE_SECURE)
|
||||
|
||||
Reference in New Issue
Block a user